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

    Network monitors are a dime a dozen, but Nload, which separates incoming and outgoing traffic and draws graphs on the console without X, is unique.

  • Charly's Column: ifdata

    Script-friendly ifdata from the Moreutils package delivers absolutely precise network interface status information, with no need to extract individual values.

  • Charly's Column: Netdiscover

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

  • 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.

comments powered by Disqus

Direct Download

Read full article as PDF:

058-058_charly.pdf (168.57 kB)