gharris999;603497 Wrote: > Question: Did you weigh trying to accomplish the same sort of thing by > plucking the values from: > > /sys/class/net/eth0/statistics/tx_bytes > /sys/class/net/eth0/statistics/rx_bytes > > ..etc.? Why, I surely would have if I knew this existed. I can *try* to write a map statement, but I prefer understanding what I am doing, in general! This code of mine is running on an early 2.6.26 kernel, I am not sure these metrics were there at that time.
-- 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
