Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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.