Sparkling gems and new releases from the world of Free and Open Source Software

System monitor

Sysdig

When it comes to system monitoring, most of us have our own regimen built around the simple tools typically installed on most Linux systems. But sometimes, it helps to have all these tools wrapped into a single package, and that's exactly what Sysdig attempts to do. It's capable of watching raw network traffic and monitoring processes and filesystems as a stream of activity that you can either watch as raw data, save for later, or process with a command-line GUI. You can then filter and focus just as you might with an individual tool. Sysdig uses a kernel module to perform this magic, and the default installation is via curl with root privileges. You obviously don't want some random code shuffling through your kernel and your clock cycles with that kind of power. Therefore, I'd strongly recommend that anyone installing this on anything other than a test system should take a look at the source code or at least find a package from a maintainer you trust.

One target platform for Sysdig is the world of containers; it includes Docker monitoring, alerting and troubleshooting with Kubernetes, Mesos, and Swarm integration, so a level of isolation may be tolerable. By default, running Sysdig will throw a flow of system activity to your terminal that can, for example, be saved or filtered with arguments to show network connections. For general use, though, it makes better sense to run sudo csysdig. This command presents the data through a very useful and rather easier-to-handle curses interface. Pressing F2 cycles through the various monitoring modes, from processes and threads to running containers and Kubernetes controllers, which is ideal for remote servers, especially when monitoring both network traffic and the processes using the connections.

Project Website

https://www.sysdig.org/

Despite the complexity of Sysdig, the curses user interface is easy to navigate and has plenty of excellent text-based help.

Profile eye candy

Buy this article as PDF

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

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Stellarium

    If you like astronomy but you don’t like sitting outside on cold nights, try stargazing from a virtual planetarium.

  • FOSSPicks

    This month Graham looks at Cartes du Ciel, Foliate, Newsboat, xinput-gui, DevilutionX, Performous, and much more!

  • Easy Listening

    For a simple audio player, check out Sayonara Player, a great choice for enjoying all your favorite music, Internet radio, and podcasts.

  • FOSSPicks

    This month, Graham discovered the spontaneous knotting of an agitated string while trying to untangle the mess of wires behind his PC and quickly gave up.

  • FOSSPicks

    One weekend this month, Graham's synth obsession took him 600 miles in a rental car into ancient Cornwall to buy a beat-up old 1980s MIDIBoard. Stay tuned for a Linux editor! Graham looks at Surge, fd, Kloak keystroke anonymizer, Symphytum, uMatrix,†and more!

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95

News