From 221b2ea6c40e5b2e0123a0c9a4ba6e74d86eb33f Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 31 Jul 2001 19:06:07 +0000 Subject: I just wrote up a simple pidof applet, closing bug #1197 -Erik --- applets/usage.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'applets') 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 @@ "Name: debian\n" \ "Address: 127.0.0.1\n" +#define pidof_trivial_usage \ + "process-name [process-name ...]" +#define pidof_full_usage \ + "Lists the PIDs of all processes with names that match the names on the command line" +#define pidof_example_usage \ + "$ pidof init\n" \ + "1\n" + #ifndef BB_FEATURE_FANCY_PING #define ping_trivial_usage "host" #define ping_full_usage "Send ICMP ECHO_REQUEST packets to network hosts" -- cgit v1.2.3