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
Post a Comment (0)
Previous Post Next Post

Recent Posts