What is "hogging" the most diskspace?

techmon

New Member
Hello,

Do you know of any program or script to figure out which files / directories or taking up the most disk space? I've tried the du command via shell; however, I'm looking for something more user-friendly. It'd be nice to have something that scans my vps for the biggest dir or file hogs and reports them to me.

Thanks for your input
Shawn
 
Hello,

By redirecting the output generated by du you can easily figure out the amount of files/directory taking too much space. Here is an example:

du -h > diskspace.txt



du : This will calculate the space.

-h
: This option will convert the amount of space into the Human readable (KB, MB and GB) format.

> filename.txt
: This portion of command will redirect the output to a file. (Save the output into the file)


Regards
Mashahood Nizamani
 
Top