diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 06:23:44 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 06:23:44 +0100 |
commit | f8f81ed7aaf90897fa9a4687dac75152740a71e2 (patch) | |
tree | a5c624d8187016e4369be0be2667a2f5de752d03 /procps/free.c | |
parent | f88e3bfa8ded4f1c7e7d2143a1cfcbbdfe5e8541 (diff) | |
download | busybox-w32-f8f81ed7aaf90897fa9a4687dac75152740a71e2.tar.gz busybox-w32-f8f81ed7aaf90897fa9a4687dac75152740a71e2.tar.bz2 busybox-w32-f8f81ed7aaf90897fa9a4687dac75152740a71e2.zip |
Convert all procps/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/free.c')
-rw-r--r-- | procps/free.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/procps/free.c b/procps/free.c index fca9a2242..f3a2c3c0c 100644 --- a/procps/free.c +++ b/procps/free.c | |||
@@ -6,8 +6,18 @@ | |||
6 | * | 6 | * |
7 | * Licensed under GPLv2, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | //config:config FREE | ||
10 | //config: bool "free" | ||
11 | //config: default y | ||
12 | //config: select PLATFORM_LINUX #sysinfo() | ||
13 | //config: help | ||
14 | //config: free displays the total amount of free and used physical and swap | ||
15 | //config: memory in the system, as well as the buffers used by the kernel. | ||
16 | //config: The shared memory column should be ignored; it is obsolete. | ||
9 | 17 | ||
10 | /* getopt not needed */ | 18 | //applet:IF_FREE(APPLET(free, BB_DIR_USR_BIN, BB_SUID_DROP)) |
19 | |||
20 | //kbuild:lib-$(CONFIG_FREE) += free.o | ||
11 | 21 | ||
12 | //usage:#define free_trivial_usage | 22 | //usage:#define free_trivial_usage |
13 | //usage: "" IF_DESKTOP("[-b/k/m/g]") | 23 | //usage: "" IF_DESKTOP("[-b/k/m/g]") |