The sys admin’s daily grind – Pktstat

Traffic Spotting

Article from Issue 139/2012

When it comes to daily tasks such as monitoring network traffic, administrators should choose a tool that is sufficiently functional and not too complicated.

Today, I’m talking about a task that isn’t exactly a big thrill for most administrators: providing human-readable statistics for traffic on a network interface. For this task, I recently discovered pktstat [1] in the course of searching for a compromise between the monosyllabic IPTraf and the verbose Wireshark. Pkstat is included by most distributions, and the source code is available online.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Charly's Column: GeoIP Lookup

    The global village is big enough to want to find out where your friend and enemies have set up camp. Charly offers a quick IP-based introduction to geography.

  • Charly's Column: lsof

    The shorter a command, the longer the list of support parameters. This rule applies to lsof, one of Charly’s favorite commands.

  • Charly's Column: tcpflow and HugeURL

    First the fun, then the pleasure: This month, we look at a TCP that administrators have to take seriously, followed by some URL fun.

  • Charly's Column: Nmon

    Nmon monitors system information. You can use the Nmon’s capture mode to output data to a file, then extract the values you need with a script.

  • Charly's Column: Netdiscover

    This month, sys admin Charly grabs the fairly ancient Netdiscover wardriving tool and takes care of his neighbors' WiFi networks.

comments powered by Disqus

Direct Download

Read full article as PDF:

058-058_charly.pdf (168.57 kB)