Currently the free space of my hard disk is shrinking for unknown reason. The free space keeps reducing until no space lefts. I don't know what's the cause, so I want to inspect to see what process is the culprit and terminate it.

link|improve this question
feedback

2 Answers

up vote 2 down vote accepted

iotop is to the hard disk what as top is to the CPU.

Among other things, it displays how many bytes per second all available proccesses are writing to the disk.

On Ubuntu, you can install it with apt-get install iotop.

link|improve this answer
feedback

lsof +d / | awk '$4 ~ /.*[uw]/' will list all processes with files open for reading or updating.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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