I'm trying to monitor disk I/Os on a server.
I need to fetch two metrics:
- read IO/sec
- write IO/sec
iotop I'm able to read those metrics (
DISK READ and
DISK WRITE). My major problem is that I can't use any non-built-in commands.
How can I get an instant snapshot of read IO/sec and write IO/sec without any third-party utility?