heth@emb3:~/bin/htiot$ ps xo pid,ppid,pgid,sid,comm | grep -P '(screen|PPID)' PID PPID PGID SID COMMAND 500011 1 500011 500011 screen