diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-13 15:17:22 +0100 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-12-13 15:17:22 +0100 |
commit | a6041860f878142e91be7889a26742e25f323c8f (patch) | |
tree | a0d3565adcf8857c36a34b4b6da16e9a666aebbf /include | |
parent | da6fb7e33100e5135e3e898dd157e6c729b34d7c (diff) | |
download | busybox-w32-a6041860f878142e91be7889a26742e25f323c8f.tar.gz busybox-w32-a6041860f878142e91be7889a26742e25f323c8f.tar.bz2 busybox-w32-a6041860f878142e91be7889a26742e25f323c8f.zip |
nmeter: deprecate %NNNd specified, use -d MSEC instead
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.src.h | 1 | ||||
-rw-r--r-- | include/usage.src.h | 29 |
2 files changed, 2 insertions, 28 deletions
diff --git a/include/applets.src.h b/include/applets.src.h index 5058feb3a..c2f90eac0 100644 --- a/include/applets.src.h +++ b/include/applets.src.h | |||
@@ -258,7 +258,6 @@ IF_NAMEIF(APPLET(nameif, _BB_DIR_SBIN, _BB_SUID_DROP)) | |||
258 | IF_NC(APPLET(nc, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 258 | IF_NC(APPLET(nc, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
259 | IF_NETSTAT(APPLET(netstat, _BB_DIR_BIN, _BB_SUID_DROP)) | 259 | IF_NETSTAT(APPLET(netstat, _BB_DIR_BIN, _BB_SUID_DROP)) |
260 | IF_NICE(APPLET(nice, _BB_DIR_BIN, _BB_SUID_DROP)) | 260 | IF_NICE(APPLET(nice, _BB_DIR_BIN, _BB_SUID_DROP)) |
261 | IF_NMETER(APPLET(nmeter, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | ||
262 | IF_NOHUP(APPLET(nohup, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 261 | IF_NOHUP(APPLET(nohup, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
263 | IF_NSLOOKUP(APPLET(nslookup, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | 262 | IF_NSLOOKUP(APPLET(nslookup, _BB_DIR_USR_BIN, _BB_SUID_DROP)) |
264 | IF_NTPD(APPLET(ntpd, _BB_DIR_USR_SBIN, _BB_SUID_DROP)) | 263 | IF_NTPD(APPLET(ntpd, _BB_DIR_USR_SBIN, _BB_SUID_DROP)) |
diff --git a/include/usage.src.h b/include/usage.src.h index c413fbb91..64f2c909f 100644 --- a/include/usage.src.h +++ b/include/usage.src.h | |||
@@ -1577,8 +1577,8 @@ INSERT | |||
1577 | "\n -c One-byte character display" \ | 1577 | "\n -c One-byte character display" \ |
1578 | "\n -C Canonical hex+ASCII, 16 bytes per line" \ | 1578 | "\n -C Canonical hex+ASCII, 16 bytes per line" \ |
1579 | "\n -d Two-byte decimal display" \ | 1579 | "\n -d Two-byte decimal display" \ |
1580 | "\n -e FORMAT STRING" \ | 1580 | "\n -e FORMAT_STRING" \ |
1581 | "\n -f FORMAT FILE" \ | 1581 | "\n -f FORMAT_FILE" \ |
1582 | "\n -n LENGTH Interpret only LENGTH bytes of input" \ | 1582 | "\n -n LENGTH Interpret only LENGTH bytes of input" \ |
1583 | "\n -o Two-byte octal display" \ | 1583 | "\n -o Two-byte octal display" \ |
1584 | "\n -s OFFSET Skip OFFSET bytes" \ | 1584 | "\n -s OFFSET Skip OFFSET bytes" \ |
@@ -2706,31 +2706,6 @@ INSERT | |||
2706 | " or\n" \ | 2706 | " or\n" \ |
2707 | "$ nameif -c /etc/my_mactab_file\n" \ | 2707 | "$ nameif -c /etc/my_mactab_file\n" \ |
2708 | 2708 | ||
2709 | #define nmeter_trivial_usage \ | ||
2710 | "format_string" | ||
2711 | #define nmeter_full_usage "\n\n" \ | ||
2712 | "Monitor system in real time\n\n" \ | ||
2713 | "Format specifiers:\n" \ | ||
2714 | " %Nc or %[cN] Monitor CPU. N - bar size, default 10\n" \ | ||
2715 | " (displays: S:system U:user N:niced D:iowait I:irq i:softirq)\n" \ | ||
2716 | " %[niface] Monitor network interface 'iface'\n" \ | ||
2717 | " %m Monitor allocated memory\n" \ | ||
2718 | " %[mf] Monitor free memory\n" \ | ||
2719 | " %[mt] Monitor total memory\n" \ | ||
2720 | " %s Monitor allocated swap\n" \ | ||
2721 | " %f Monitor number of used file descriptors\n" \ | ||
2722 | " %Ni Monitor total/specific IRQ rate\n" \ | ||
2723 | " %x Monitor context switch rate\n" \ | ||
2724 | " %p Monitor forks\n" \ | ||
2725 | " %[pn] Monitor # of processes\n" \ | ||
2726 | " %b Monitor block io\n" \ | ||
2727 | " %Nt Show time (with N decimal points)\n" \ | ||
2728 | " %Nd Milliseconds between updates (default:1000)\n" \ | ||
2729 | " %r Print <cr> instead of <lf> at EOL" \ | ||
2730 | |||
2731 | #define nmeter_example_usage \ | ||
2732 | "nmeter '%250d%t %20c int %i bio %b mem %m forks%p'" | ||
2733 | |||
2734 | #define nohup_trivial_usage \ | 2709 | #define nohup_trivial_usage \ |
2735 | "PROG ARGS" | 2710 | "PROG ARGS" |
2736 | #define nohup_full_usage "\n\n" \ | 2711 | #define nohup_full_usage "\n\n" \ |