The sys admin's daily grind: Dstat
More Stats
Occasional worries about the system status are part of the sys admin's daily life, and admins usually keeps a fat toolbox of top and stat tools to alleviate them. Charly says he can manage with just one multitool – for the time being, at least.
How many times have I written about tools that have "top" or "stat" in their names? It feels like umpteen times. Today, Dstat [1] makes it umpteen+1. This tool, which many distributions already have in their repositories, claims it will save me the trouble of making that umpteen+2 times, while sending many system reporting tools into a well-earned retirement [2].
Although Dstat suffers from no shortage of parameters, I first called it without any. The results are lines of the most important system data written once a second (Figure 1). But, if you want to drill into the depths of the network, you can use the -tcp and -udp switches. Using -N eth1 restricts the output to a single interface. As for the network, other parameters can help bring details to light for all other system components.
That's all well and good, but the real fun with Dstat starts when I look at the list of plugins. The tool's entourage includes about three dozen of them, including a "Hello World" and a "Test" plugin that can serve as jumping-off points for your own add-ons. The plugins cover a considerable range of tasks. No fewer than five of them relate to MySQL, three cover InnoDB, and four cover NFS. Others show the Sendmail or Postfix queue length – even sorted by incoming, active, and deferred – and much more.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
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.
News
-
Ubuntu 26.04 Beta Arrives with Some Surprises
Ubuntu 26.04 is almost here, but the beta version has been released, and it might surprise some people.
-
Ubuntu MATE Dev Leaving After 12 years
Martin Wimpress, the maintainer of Ubuntu MATE, is now searching for his successor. Are you the next in line?
-
Kali Linux Waxes Nostalgic with BackTrack Mode
For those who've used Kali Linux since its inception, the changes with the new release are sure to put a smile on your face.
-
Gnome 50 Smooths Out NVIDIA GPU Issues
Gamers rejoice, your favorite pastime just got better with Gnome 50 and NVIDIA GPUs.
-
System76 Retools Thelio Desktop
The new Thelio Mira has landed with improved performance, repairability, and front-facing ports alongside a high-quality tempered glass facade.
-
Some Linux Distros Skirt Age Verification Laws
After California introduced an age verification law recently, open source operating system developers have had to get creative with how they deal with it.
-
UN Creates Open Source Portal
In a quest to strengthen open source collaboration, the United Nations Office of Information and Communications Technology has created a new portal.
-
Latest Linux Kernel RC Contains Changes Galore
Linux kernel 7.0-rc3 includes more changes than have been made in a single release in recent history.
-
Nitrux 6.0 Now Ready to Rock Your World
The latest iteration of the Debian-based distribution includes all kinds of newness.
-
Linux Foundation Reports that Open Source Delivers Better ROI
In a report that may surprise no one in the Linux community, the Linux Foundation found that businesses are finding a 5X return on investment with open source software.
