I have a Linux server, and it's doing a lot of disk io. There is one process that is doing most of the disk writes. I found this out with iotop
, which shows the processes that are doing disk I/O. Is there an equivant programme (in the debian lenny apt repositories) that will show me what files are being written to? a 'top' like interface would be great? Is this even possible?
lsof may help if you know the process you want to watch:
-r
is the number of seconds between checks.You can use sysdig:
There's also an interactive (top-like) terminal program that might be useful in your case.