finding the pid of a process running inside screen
Start screen with a session name, e.g.
screen -S FOO
and filter for that name
ps h --ppid $(screen -ls | grep FOO | cut -d. -f1) -o pid
See http://superuser.com/questions/631384/gnu-screen-quitting-sigterm-to-running-process for more details.