Skip to content

fcicq/dstat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dstat is a versatile replacement for vmstat, iostat, netstat and ifstat.
Dstat overcomes some of their limitations and adds some extra features,
more counters and flexibility. Dstat is handy for monitoring systems
during performance tuning tests, benchmarks or troubleshooting.

Dstat allows you to view all of your system resources instantly, you
can eg. compare disk usage in combination with interrupts from your
IDE controller, or compare the network bandwidth numbers directly
with the disk throughput (in the same interval). 

Dstat gives you detailed selective information in columns and clearly
indicates in what magnitude and unit the output is displayed. Less
confusion, less mistakes.

Dstat is unique in letting you aggregate block device throughput for
a certain diskset or networkset, ie. you can see the throughput for
all the block devices that make up a single filesystem or storage
system.

You can write your own dstat plugins to monitor whatever you like in
just a few minutes based on provided examples and a little bit of
Python knowledge.

Dstat's output by default is designed for being interpreted by humans
in real-time, however the new CSV output allows you to store CSV
output in detail to a file to be imported later into Gnumeric or Excel
to generate graphs.

Since it's practically impossible to test dstat on every possible
permutation of kernel , python or distribution version, I need your
help and your feedback to fix the remaining problems.

If you have improvements or bugreports, please send them to:

    <dag@wieers.com>

===

For the solaris support, please get kstat & kstat_bridge from https://github.com/fcicq/kstat first.

Known Limitations:
You have to manually specify disk / netif (like -D sd1, -N net0) in order to enable disk / net support.
One disk / netif only, "total" is NOT supported (may add in the future).
Only total cpu usage is accounted, currently not able to specify certain core (it is ok to add support in the future).
Currently, only cpu, disk, net, paging, system, memory, loadavg are supported.

The author's test env is an instance running on Joyent SmartMachine platform.
Please attach related kstat report in issue if not working / you want to have other features implemented.

About

Versatile resource statistics tool, with experimental solaris support by fcicq

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%