From a2265769833d10a5ddede8f4a33a9b9f6cde30aa Mon Sep 17 00:00:00 2001 From: sin Date: Sun, 13 Apr 2014 16:36:23 +0100 Subject: [PATCH] Add pidof manpage --- pidof.1 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pidof.1 diff --git a/pidof.1 b/pidof.1 new file mode 100644 index 0000000..db188b9 --- /dev/null +++ b/pidof.1 @@ -0,0 +1,18 @@ +.TH PIDOF 1 ubase-VERSION +.SH NAME +\fBpidof\fR - Find the process ID of a running program +.SH SYNOPSIS +\fBpidof\fR [\fB-o\fI pid1,pid2,...,pidN\fR] [\fB-s\fR] [\fIprogram...\fR] +.SH DESCRIPTION +\fBpidof\fR finds the process id's of the named programs and prints them on +stdout. +.SH OPTIONS +.TP +\fB-o\fR +Tell pidof to omit processes with that process id. The special pid +%PPID can be used to name the parent process of the pidof program. +.TP +\fB-s\fR +Single shot - this instructs the program to only return one process id. +.SH SEE ALSO +killall5(8)