Is there a Linux command to monitor read and writes over a period of time? with what files were accessed and how much data was written.
Is there a Linux command to monitor read and writes over a period of time? with what files were accessed and how much data was written.
Something like
iotop -Pao
(real-time) oriotop -obd
(batch) ought to do the job. I don’t know if it includes writes to non-physical devices like tmpfs.Some other commands you might find interesting:
iosnoop
,fatrace
,pidstat
,blktrace
.