Posts

Showing posts from July, 2017

How to find a parent process of a child process

If you find a process that is using too much memory or CPU,  use the following command to find the parent process. Here '4093' is assumed as process ID Web]$ ps -o ppid= 4093 4087 As we can see that the parent process ID is 4087 and  using the following command. Web]$ ps -f 4087 UID        PID  PPID  C STIME TTY      STAT   TIME CMD sas       4087     1  0 Jul26 ?        S<     0:00 /bin/sh -p <file path> start2_tag Web]$