diff options
author | Bernhard Reutner-Fischer | 2005-10-06 15:37:02 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2005-10-06 15:37:02 +0000 |
commit | 81c3a518d3121ac6a9fc991aabb916be95ebdea2 (patch) | |
tree | a74704314c1dcffbd472702e265966678a986a7c /procps/Config.in | |
parent | b31cb87fdce95d4bde2062e44e7a5408e97985c6 (diff) | |
download | busybox-81c3a518d3121ac6a9fc991aabb916be95ebdea2.zip busybox-81c3a518d3121ac6a9fc991aabb916be95ebdea2.tar.gz |
- pidof(8): make -s optional and optional -o; closes #168
first cut.
Diffstat (limited to 'procps/Config.in')
-rw-r--r-- | procps/Config.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/procps/Config.in b/procps/Config.in index d17bbcd..b4832db 100644 --- a/procps/Config.in +++ b/procps/Config.in @@ -37,6 +37,22 @@ config CONFIG_PIDOF Pidof finds the process id's (pids) of the named programs. It prints those id's on the standard output. +config CONFIG_FEATURE_PIDOF_SINGLE + bool " Enable argument for single shot (-s)" + default n + depends on CONFIG_PIDOF + help + Support argument '-s' for returning only the first pid found. + +config CONFIG_FEATURE_PIDOF_OMIT + bool " Enable argument for omitting pids (-o)" + default n + depends on CONFIG_PIDOF + help + Support argument '-o' for omitting the given pids in output. + The special pid %PPID can be used to name the parent process + of the pidof, in other words the calling shell or shell script. + config CONFIG_PS bool "ps" default n |