Wednesday, March 7, 2012

What is the linux command to obtain the PID number of a specific program running?

I'm tired to use the "top" and search around for the PID of a program that I know is running on a remote terminal, left open by someone else, and that I want to kill. I wonder if there is a linux command that would return the PID of only that program.What is the linux command to obtain the PID number of a specific program running?
ps aux | grep processname
or
pidof processnameWhat is the linux command to obtain the PID number of a specific program running?
it should show up in gnome task manager...upgrade to latest version...

No comments:

Post a Comment