4/08/2016

How to get the process name by using PID in linux/unix

In Linux some times we have process id and wanted to check the name of the process. We can execute the following command to check the name of the process.

ps -p 1337 -o comm=

ps - List all the process running in the machine

No comments:

Post a Comment