0

I am familiar with iotop and those tools. But for some strange reason I have to write a Ruby program on my own to monitor only read and write activity of all the partitions on /dev/sda). I want to know how does iotop work.

I have the Kernel 4.20.13-arch1-1-ARCH

Is there a file that I can read with Ruby's IO.read('somefile') and do some formatting to get the IO details?

For further info, I want to know how does gnome-system-monitor monitor disk IO activities as a non-root user?

15 Volts
  • 2,069

0 Answers0