Difference between revisions of "Fork system call"

From Teknologisk videncenter
Jump to: navigation, search
m
m
Line 1: Line 1:
 +
*Example of creating a Linux [[Daemon linux|daemon]] process
 
=check=
 
=check=
 
<source lang=bash>
 
<source lang=bash>

Revision as of 08:50, 16 December 2022

  • 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