Displaying 1 result from an estimated 1 matches for "nanotop".
Did you mean:
anoop
2003 Aug 01
2
Bandwidth Monitor
Anybody knows about one bandwidth meter to use in Bering.
This is a script i built, it''s works wel, but it''s not very nice!!! =P
#!/bin/bash
# Bandwidth Monitor
device=eth0
bytes=`grep $device /proc/net/dev | cut -f 2 -d : | cut -d '' '' -f 2`
kbytes=`expr $bytes / 1024`
actual=$kbytes
i=1
x=0
total=0
while [ $i -le 2 ]
do
x=`expr $x + 1`