Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to find out the disk usage of /home however it's too slow, I get timeout sometimes (SSH) because it has lots of files. I am using du -sh /home and I was wondering if there's a faster way?

share|improve this question
I don't think you'll be able to get a faster result. You can use screen to detach your session though and reconnect after the timeout. Use screen du -sh /home to run it, press 'CTRL+A' then 'd' to detach, and run screen -r after your timeout to renew the session. – Kasius Sep 24 '12 at 14:40
Why not just run the command in the background as a job? – Breakthrough Sep 24 '12 at 15:27
up vote 8 down vote accepted

If you have /home on a separate partition you can use df -h to show the disk usage. This should be pretty fast since the command doesn't summarize the disk usage of each file (as du does).

share|improve this answer

Try this

df -kh

it will show disk usage. and if you want to see for all drives then use

sudo fdisk -l

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.