See How Much Space You Use on Your Service
Your App Hosting plan has a fixed amount of disk space. This page shows how to see how much of it you use, and which folders take the most, over SSH. The steps were tested on our demo service.
Connect over SSH first: SSH how to get connected.
1. How Much of Your Plan Is Used
quota -s
Disk quotas for user username (uid 1001):
Filesystem space quota limit grace files quota limit grace
/dev/sdd1 8445M 6520G 0K 33987 0 0
- space: the space you use now, here 8445 MB.
- quota: the space of your plan, here 6520 GB.
This is the number that counts for your plan. It includes all files of your user on the disk, also those that your apps keep outside your home folder, so it can be higher than the sum of your folders below.
df -h shows the whole disk of the server, which you share with other customers, not your plan. Use quota -s for your own space.
2. Which Folders Are the Largest
The size of each folder in your home folder, smallest first, largest last:
du -sh ~/* | sort -h
The folders that start with a dot, where apps keep their settings and databases:
du -sh ~/.[!.]* | sort -h
To look deeper, run the same in a folder, for example du -sh ~/downloads/* | sort -h. On many files this takes a while.
3. Find Large or Old Files
The 20 largest files in your downloads folder, with their size in bytes:
find ~/downloads -type f -size +500M -printf '%s %p\n' | sort -n | tail -20
Files that have not changed for more than 90 days:
find ~/downloads -type f -mtime +90
Change +500M or +90 as you like. These commands only list files; they do not delete anything.
4. Free Space Safely
- Delete torrents together with their data in your torrent client, so that nothing stays behind. With ruTorrent and a lot of data, delete the files over FTP/SFTP or SSH instead: ruTorrent: Add and Manage Torrents in Your Browser.
- Look for leftovers: unpacked copies next to archives, old downloads in
downloads, files your apps no longer need. - Delete over SSH with
rm(files) orrm -r "Folder"(folders). There is no recycle bin: check the name twice. - Do not delete folders that start with a dot unless you know what they belong to: they hold the settings of your apps.
Need more space for good? See Can I order extra disk space, RAM or CPU without a package upgrade?