diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-07-31 19:06:07 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-07-31 19:06:07 +0000 |
commit | 221b2ea6c40e5b2e0123a0c9a4ba6e74d86eb33f (patch) | |
tree | 9fc861b2a801e9a95308474eb9f9af0ab1084e75 /include/usage.h | |
parent | 9a53feaa76840ef21bef864244d95b5ac6923658 (diff) | |
download | busybox-w32-221b2ea6c40e5b2e0123a0c9a4ba6e74d86eb33f.tar.gz busybox-w32-221b2ea6c40e5b2e0123a0c9a4ba6e74d86eb33f.tar.bz2 busybox-w32-221b2ea6c40e5b2e0123a0c9a4ba6e74d86eb33f.zip |
I just wrote up a simple pidof applet, closing bug #1197
-Erik
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index 2a2042292..08da42b27 100644 --- a/include/usage.h +++ b/include/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" |