pidof is a Linux utility that returns the process identifier (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
- : find the process ID of a running program – Linux Programmer's Manual
- : send a signal to all processes – Linux Programmer's Manual
|
||||||||||||||||||||||||||
| This Unix-related article is a stub. You can help Wikipedia by expanding it. |
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)




