Skip to main content
Explain PID and ps
Source Link
vonbrand
  • 18.6k
  • 2
  • 40
  • 63

You shoudshould be able to follow the PPID chain backwards from the process you are interested in. But if, say, A launched B, B launched C, and B finished, now C's parent is init (PID 1). To access information about process PID, you do ps -l -pPID.

You shoud be able to follow the PPID chain backwards from the process you are interested in. But if, say, A launched B, B launched C, and B finished, now C's parent is init (PID 1).

You should be able to follow the PPID chain backwards from the process you are interested in. But if, say, A launched B, B launched C, and B finished, now C's parent is init (PID 1). To access information about process PID, you do ps -l -pPID.

Source Link
vonbrand
  • 18.6k
  • 2
  • 40
  • 63

You shoud be able to follow the PPID chain backwards from the process you are interested in. But if, say, A launched B, B launched C, and B finished, now C's parent is init (PID 1).