Skip to content

Anglehit

Tech Chores, Angle adores

Anglehit

Tech Chores, Angle adores

  • Home
  • Linux
  • Windows
  • Technology News
  • Geek Talk
  • How-to’s
  • Ubuntu
  • Fedora
  • About me
    • Home
    • get parent process ID of a given child process in Linux
Home How-to's Linux Ubuntu

How do I get the parent process ID of a given child process in Linux.

Akash Angle March 14, 2018 0Comments

Use ps -o ppid=   e.g. ps -o ppid= 2076 returns 2054, which you can easily use in a script etc. ps -o ppid= -C foo gives the PPID of process with command foo. You can…

You Missed

Home How-to's Ubuntu

Disable Nvidia X server in Ubuntu Linux

Geek Talk Home How-to's

Unable to install FLUXION 5.9 on Ubuntu 18.04 LTS

Home How-to's Linux Ubuntu

Ubuntu does not boot properly

Geek Talk Home How-to's

WordPress Images not loading properly? An instant solution to this common problem

Anglehit

Tech Chores, Angle adores