Pidof

From Wikipedia, the free encyclopedia

The correct title of this article is pidof. The initial letter is shown capitalized due to technical restrictions.

pidof is a GNU/Linux utility that returns the process ID (PID) of a running process. The equivalent Solaris operating system command is pgrep.

Example:

[user&hostname]$ pidof java 
3097

[edit] See also