Hi ,
My problem is that I am not able to list all process id of any process.
If you see pstree command it shows many process id under https. But if I run ps command its not listing all the process id for httpd.
It is just listing the PPID and immediate child process id only. I want to have all child process id.
Why pstree and ps command output is different.
Can someone point me in the right direction so that I can get all the child process id using other command rather than using pstree command.
Thank you
---------- Post updated at 09:08 PM ---------- Previous update was at 09:08 PM ----------
I have managed to write one line script to get the list all process id of HTTPD including PPID TGID and PID