Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

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.

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

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.