[PATCH] new applet: nmeter

Denis Vlasenko vda.linux at googlemail.com
Wed Jul 5 16:31:56 UTC 2006


Hi,

The patch adds the following applet:

# ./busybox nmeter 
BusyBox v1.2.0 (2006.07.04-21:29+0000) multi-call binary 
 
Usage: nmeter format_string 
 
Nmeter monitors your system in real time. 
 
Format specifiers: 
%Nc or %[cN]    monitor CPU. N - bar size, default 10 
                (displays: S:system U:user N:niced D:iowait I:irq i:softirq) 
%[niface]       monitor network interface 'iface' 
%m              monitor allocated memory 
%[mf]           monitor free memory 
%[mt]           monitor total memory 
%s              monitor allocated swap 
%f              monitor number of used file descriptors 
%Ni             monitor total/specific IRQ rate 
%x              monitor context switch rate 
%p              monitor forks 
%[pn]           monitor # of processes 
%b              monitor block io 
%Nt             show time (with N decimal points) 
%Nd             milliseconds between updates (default=1000) 
%r              print <cr> instead of <lf> at EOL 

Size of the applet (make objsizes):

text+data text+rodata    rwdata       bss filename 
     5090        4954       136      4104 miscutils/nmeter.o 

Run tested.
--
vda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nmeter.patch
Type: text/x-diff
Size: 23763 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060705/10ff394c/attachment.bin 


More information about the busybox mailing list