What is "hogging" the most diskspace?

Discussion in 'Linux VPS/Dedicated - General' started by techmon, Mar 10, 2008.

  1. techmon

    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
     
  2. khiltd

    khiltd New Member

    du would be it. What about its output was unsatisfactory?
     
  3. Mashahood

    Mashahood VPS Ltx User

    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
     

Share This Page