Project: ioload
Written 2016-11-05
Tags:nload ioload
Last night, I started writing ioload, an nload-like program that monitors per-disk iops and bandwidth. Here is the first functional result:
I picked the /proc/diskstats interface to disk stats on Linux purely because it was the first. There is also an in interface under /sys/block/*/stat that gives a per-disk view directly. Upstream nload supports both procfs and sysfs on Linux.
Future work:
- Either merge with nload or clean up code to replace network with disk references.
- Support sysfs on Linux for anyone without procfs mounted.
- BSD Port
- HPUX Port
- Solaris Port
- Man Pages