diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-07-31 19:06:07 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-07-31 19:06:07 +0000 |
commit | d4f07e3e83020e7996e17d1447c0d92c75d854af (patch) | |
tree | 9fc861b2a801e9a95308474eb9f9af0ab1084e75 /applets/usage.h | |
parent | c5cf1bbfcb97c55467173c8a0b15842d19891c72 (diff) | |
download | busybox-w32-d4f07e3e83020e7996e17d1447c0d92c75d854af.tar.gz busybox-w32-d4f07e3e83020e7996e17d1447c0d92c75d854af.tar.bz2 busybox-w32-d4f07e3e83020e7996e17d1447c0d92c75d854af.zip |
I just wrote up a simple pidof applet, closing bug #1197
-Erik
git-svn-id: svn://busybox.net/trunk/busybox@3169 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'applets/usage.h')
-rw-r--r-- | applets/usage.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/applets/usage.h b/applets/usage.h index 2a2042292..08da42b27 100644 --- a/applets/usage.h +++ b/applets/usage.h | |||
@@ -1190,6 +1190,14 @@ | |||
1190 | "Name: debian\n" \ | 1190 | "Name: debian\n" \ |
1191 | "Address: 127.0.0.1\n" | 1191 | "Address: 127.0.0.1\n" |
1192 | 1192 | ||
1193 | #define pidof_trivial_usage \ | ||
1194 | "process-name [process-name ...]" | ||
1195 | #define pidof_full_usage \ | ||
1196 | "Lists the PIDs of all processes with names that match the names on the command line" | ||
1197 | #define pidof_example_usage \ | ||
1198 | "$ pidof init\n" \ | ||
1199 | "1\n" | ||
1200 | |||
1193 | #ifndef BB_FEATURE_FANCY_PING | 1201 | #ifndef BB_FEATURE_FANCY_PING |
1194 | #define ping_trivial_usage "host" | 1202 | #define ping_trivial_usage "host" |
1195 | #define ping_full_usage "Send ICMP ECHO_REQUEST packets to network hosts" | 1203 | #define ping_full_usage "Send ICMP ECHO_REQUEST packets to network hosts" |