summaryrefslogtreecommitdiff
path: root/pidof.1
diff options
context:
space:
mode:
authorJaromir Capik <jcapik@redhat.com>2013-10-14 15:38:33 +0200
committerJaromir Capik <jcapik@redhat.com>2013-10-14 15:38:33 +0200
commitf5d15f471890ed8ae1006b0007ff1bc7a5b9476d (patch)
tree6a0cbf9495abb7820ce372fa75dbc360c643423c /pidof.1
parent8a2113bcf2aace12377e4d62e9dedc6f706c6a29 (diff)
downloadprocps-ng-f5d15f471890ed8ae1006b0007ff1bc7a5b9476d.tar.gz
pidof: support for omitted %PPID and additional separators
This commit introduces support for special %PPID value that can be passed to the -o option as a substitution for parent PID. It also allows users to use two additional separators for omitted PIDs - colon and semicolon.
Diffstat (limited to 'pidof.1')
-rw-r--r--pidof.14
1 files changed, 3 insertions, 1 deletions
diff --git a/pidof.1 b/pidof.1
index f2544c8..f49cd23 100644
--- a/pidof.1
+++ b/pidof.1
@@ -44,7 +44,9 @@ the current root directory of processes they do not own.
Scripts too - this causes the program to also return process id's of
shells running the named scripts.
.IP "-o \fIomitpid\fP"
-Tells \fIpidof\fP to omit processes with that process id.
+Tells \fIpidof\fP to omit processes with that process id. The special
+pid \fB%PPID\fP can be used to name the parent process of the \fIpidof\fP
+program, in other words the calling shell or shell script.
.SH "EXIT STATUS"
.TP
.B 0