Perferably in PERL, what's the best way to get the in/out bytes from the NIC on Linux ?
With FreeBSD I open a file/pipe to 'netstat -in 1' and read a few lines.
Perferably in PERL, what's the best way to get the in/out bytes from the NIC on Linux ?
With FreeBSD I open a file/pipe to 'netstat -in 1' and read a few lines.
Don't know PERL, sorry.
"netstat -ei" or perhaps (more program friendly) "cat /proc/net/dev" ? (or system calls... if available?)
long time; /* know C? */
Unprecedented performance: Nothing ever ran this slow before.
Any sufficiently advanced bug is indistinguishable from a feature.
Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31.
The best way to accelerate an IBM is at 9.8 m/s/s.
recursion (re - cur' - zhun) n. 1. (see recursion)