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!

  • Stellarium Extras

    Expand the Stellarium virtual planetarium with new objects and environments in just a few simple steps.

  • FOSSPicks

    This month Graham reviews Tuning Workbench Synth, Stellarium 1.0, sake, Wonder Shaper, and Samplebrain.

  • PulseEffects

    A wildly flashing equalizer once was part of the basic equipment of every decent stereo system. PulseEffects upgrades the PulseAudio server to include these slide controls – and offers even more.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News