24

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

I stumbled upon them at strace-pids.

Mateusz Piotrowski
  • 6,866
  • 9
  • 49
  • 75
Nordlöw
  • 11,359
  • 9
  • 51
  • 97

1 Answers1

54
  • 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,519
  • 25
  • 32
  • 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