Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is there a tool which allows to save a simple data to a file regarding the IO usage, so that I could use them to display a graph of IO usage?

I need to use it on my server, with no graphical environment so any X application is of no use here. I just need to collect something like

time:(disk read/write)

so that I could make a graph from that.

share|improve this question
up vote 1 down vote accepted

You could use dstat like this:

dstat --time --disk --output disk-stats.csv 60

this will write disk activity into the disk-stats.csv file every 60 seconds

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.