pidof.1 - ubase - suckless linux base utils
HTML git clone git://git.suckless.org/ubase
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
pidof.1 (560B)
---
1 .Dd February 2, 2015
2 .Dt PIDOF 1
3 .Os ubase
4 .Sh NAME
5 .Nm pidof
6 .Nd find the process ID of a running program
7 .Sh SYNOPSIS
8 .Nm
9 .Op Fl o Ar pid1,pid2,...pidN
10 .Op Fl s
11 .Op Ar program...
12 .Sh DESCRIPTION
13 .Nm
14 finds the process id's of the named programs and prints them to
15 stdout.
16 .Sh OPTIONS
17 .Bl -tag -width Ds
18 .It Fl o
19 Tell pidof to omit processes with that process id. The special pid
20 %PPID can be used to name the parent process of the pidof program.
21 .It Fl s
22 Single shot - this instructs the program to only return one process id.
23 .El
24 .Sh SEE ALSO
25 .Xr killall5 8