summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-17 00:35:15 +0000
committerDenis Vlasenko2007-06-17 00:35:15 +0000
commita6163ca355464b34513723b82ba24f0d001d8332 (patch)
treed848b80df74bc965f990bf88fd5fc68ac46a432b /procps
parentab47eeee6aeadd5afd78026d34dfcea129e63dce (diff)
downloadbusybox-a6163ca355464b34513723b82ba24f0d001d8332.zip
busybox-a6163ca355464b34513723b82ba24f0d001d8332.tar.gz
install: fix install a b /a/link/to/dir
install: fix -s (strip) option nmeter: add TODO
Diffstat (limited to 'procps')
-rw-r--r--procps/nmeter.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/procps/nmeter.c b/procps/nmeter.c
index 1d58eb2..4f78a14 100644
--- a/procps/nmeter.c
+++ b/procps/nmeter.c
@@ -11,9 +11,14 @@
// /proc/stat:
// disk_io: (3,0):(22272,17897,410702,4375,54750)
// btime 1059401962
+//TODO: use sysinfo libc call/syscall, if appropriate
+// (faster than open/read/close):
+// sysinfo({uptime=15017, loads=[5728, 15040, 16480]
+// totalram=2107416576, freeram=211525632, sharedram=0, bufferram=157204480}
+// totalswap=134209536, freeswap=134209536, procs=157})
-#include "libbb.h"
#include <time.h>
+#include "libbb.h"
typedef unsigned long long ullong;