Fork system call

From Teknologisk videncenter
Revision as of 08:50, 16 December 2022 by Heth (talk | contribs)
Jump to: navigation, search
  • Example of creating a Linux daemon process

check

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

Links