Tag: du

  • Disk Quota Exceeded – solution!

    So I couldn’t figure out why I kept going over the disk quota at the CS computers. I had about 300mb of storage and no matter what programs I removed, I couldn’t seem to stay under the quota. In fact, I removed everything and still I was taking up 297/300 mb. So what was taking up space? something called ./ccache . It’s a program to help speed up compilation of programs. This is good except the space limits were not set to be helpful. So here’s some important commands:

    Disk Usage of all files:
    $du -ah

    Summary of disk usage
    $du -sh

    Ccache
    set max size to 100mb
    $ccache -M 100M

    clear ccache
    $ccache -C

    clean up ccache
    $ccache -c