“Professional service
that won't make you nervous”

Macintosh  Perl  Linux

Show I/O

For inspecting the packet traffic across the current network interfaces.

The Stuff

Sample Output:

        Receive                        Transmit
        bytes        packets           bytes        packets
    lo  2.01 MB      5559             2.01 MB       5559
  eth0  0.00         0                1.67 K        0
  eth1  0.00         0                74.06 K       1264

				

The Program itself: showio.tgz (Copy to ~/bin or /usr/local/bin)

Requirements:

  • Perl 5.6.0 or later
  • Linux, and the /proc/net/dev file

The Story

Really simple, but handy to have around.

While spending some time in the #redhat support channel on irc.freenode.net, one day someone asked if I could create this little util during discussions over the tailfilter program. I quickly cranked it out and tweaked it into shape for him. Should you find it useful, feel free to grab it. :-)