Server Monitoring using DSTAT

DSTAT an excellent tool which combines the overall stats of vmstat, iostat, netstat and ifstat. Dstat allows us to view all of the system resources in the real-time including the network bandwidth, network I/O , IRQ etc which helps the administrator to get an clear picture of what is going on in their server. It also reduces the headache of opening a separate shell/terminal to view the stats during bench tests.

Installing Dstat


Dstat rpm can be found here http://packages.sw.be/dstat/ make sure you are installing the right os version/arch of rpm. You can also use yum to install the rpm if you are having RHEL / FEDORA / CENTOS distributions

  • yum install dstat

Getting started with dstat


To get a full stats using dstat

  • dstat –full
Server Monitoring using DSTAT

Full Stats

To find the most CPU time (in ms)

  • dstat –top-cputime
Server Monitoring using DSTAT

CPU

To check the NIC alone with the IRQ’s

  • dstat -dnyc -N eth0 -C total -f 5
Server Monitoring using DSTAT

NIC stats

Useful link :

Dstat RPM download

Dstat Manual Page

Network Monitoring using BWM-NG

Server Monitoring using H-top

TCP/IP connection monitoring using Tcptrack

Leave a comment