Pidof

del.icio.us del.icio.us
Digg Digg
Furl Furl
Reddit Reddit
Rojo Rojo
Add to OnlyWire

pidof is a Linux utility that returns the process ID (PID) of a running process or processes. On other operating systems, pgrep and ps are often used instead.

pidof is implemented in the same program as killall5, the Linux name for the System V killall program used by the runlevel scripts. pidof is usually a symbolic link to killall5, and the name the program is called under is what determines its behavior.

Examples:

$ pidof ntpd 
3580 3579
$ pidof emacs
22256

See also

External links

This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.


Giant Panda

Mercedes Car
James Bond Guide
This site monitored by SitePinger.net