What does the Linux kernel acronyms PID, PPID, TGID stand for?
I stumbled upon them at strace-pids.
If a command starts just one process, its PID and PGID are the same. PPID. A process that creates a new process is called a parent process; the new process is called a child process. The parent process ID (PPID) becomes associated with the new child process when it is created. The PPID is not used for job control.
TGID -- Thread Group Id The ID of the thread group to which a task belongs. It is the PID of the thread group leader. In kernel terms, it represents those tasks that share an mm_struct. 38. TIME -- CPU Time Total CPU time the task has used since it started.
TGID: Thread Group Id.
The PPID is the PID of the process's parent. For example, if process1 with a PID of 101 starts a process named process2, then process2 will be given a unique PID, such as 3240, but it will be given the PPID of 101. It's a parent-child relationship.
see this question for more details
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With