- How do I check how much space my network home is using?
Checking space usage of network home directory from a macOS lab machine:
SSH into igppgateway.ucsd.edu or one of the computers listed on the following page: IGPP Lab Machines Database.
Issue command to check home directory size:
(Depending on the size of your directory, it may take awhile to calculate the directory size)
Note: If you wish to have the window display an entry for all files and directories X directories deep enter the following command:
(replace X with a value denoting how many directories deep you would like to go and username with your username, i.e. sudo du -hd 1 ~username )
To find calculate Spotlight database size:
If Spotlight database requires reindexing, see How to Force Spotlight to Reindex a Drive.
To find all files larger than 5GB:
Note: that you may get a lot of errors in /private/var/ due to locked files. These can be ignored.
If doing this from a macOS host other than lab machine, may also need the following steps:
For macOS 10.13 and lower, skip this step. For macOS 10.14 or higher, manually grant full disk access:
choose Apple menu > System Preferences > Security & Privacy > Privacy tab > Full Disk Access.
Click the lock to make changes and provide credentials, if necessary.
Click the "+".
Add the /Applications/Utilities/Terminal.app.
Checking space usage of network home directory (or any other directories) on Red Hat servers:
Checking space usage with sorting: