24

What does the Linux kernel acronyms PID, PPID, TGID stand for?

I stumbled upon them at strace-pids.

Mateusz Piotrowski
  • 8,029
  • 10
  • 53
  • 79
Nordlöw
  • 11,838
  • 10
  • 52
  • 99

1 Answers1

57
  • PID: Process Id
  • PPID: Parent Process Id (the one which launched this PID)
  • TGID: Thread Group Id

see this question for more details

Community
  • 1
  • 1
aldrinleal
  • 3,559
  • 26
  • 33
  • This answer isn't always true -- specifically if reading the `event_data` field from linux/proc.sh. Confusingly, _pid refers to the `thread` id, and _tgid is the actual pid id. (see https://listman.redhat.com/archives/phil-list/2002-December/msg00020.html) – gerardw Mar 02 '19 at 18:28