0

Get Pid of particular process

Hi, i want to find the Process ID (PID) for a particular process like httpd, since i have using ps command like below inorder to get the PID of httpd

ps aux | grep httpd

I want to know is there any other simple command to get all the PID' s of a process? Thanks in advance

Linux PID Background process Add a comment
julian
asked May 30 2018

Answer

0

You can use the below command to find the PID for particular process

pidof httpd
Add a comment
parthiban
asked May 30 2018
edited Oct 05 2018
Post your Answer