I used to go with a simple cat /proc/net/dev followed with the usual
perl matching expression to extract bytes in and bytes out.
I don't know this bwm-ng tool you're using; I guess it takes care of
byte counters rollover ? 

There must be a DNLA related port opened somewhere on the server,
perhaps lsof can show an "ESTABLISHED" state to disambiguate on network
usage, if using TCP ? 
When using a relatively low threshold of around 30kB of in+out traffic
per minute, something like an NTP sync or a few RSS feed syncs can show
system activity when in fact you could well shutdown the server as it is
not working for you. Using a higher threshold, like 100kB, might not
detect a player in pause mode.


-- 
epoch1970

Daily dose delivered by: 2 SB Classic (fw 130), 1 SB Boom (fw 50) •
SqueezeCenter 7.3.4 (Debian 5.0) with plugins: ContextMenu,
SaverSwitcher by Peter Watkins • Server Power Control by Gordon Harris
•  WeatherTime by Martin Rehfeld • IRBlaster by Gwendesign (Felix) •
FindArt, CDplayer by bpa • BBC iPlayer, SwitchPlayer by Triode •
PowerSave by Jason Holtzapple • TrackStat by Erland Isaksson.
------------------------------------------------------------------------
epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
View this thread: http://forums.slimdevices.com/showthread.php?t=49028

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to