How do I find the PID of a process?

How do I find the PID of a process?
Answer
2 Answers. You’ll usually find the PID files for daemonized processes in /var/run/ on Redhat/CentOS-style systems. Short of that, you can always look in the process init script. For instance, the SSH daemon is started with the script in /etc/init.
 

Tìm kiếm

Back
Top