Original computing articles by a systems administrator

Category Archives: C

Debuging a script that parses /proc/net/dev

A Intermittent Problem: I wrote a Perl script for Nagios that would figure out the bandwidth of an interface by parsing TX (transmit) and RX (receive) bytes from /proc/net/dev. The proc file system is a virtual file system that provides the ability to view various kernel statistics as well as modify some kernel parameters. MyContinue Reading