Checking Disk usage

Checking Disk usage

Anonymous
Not applicable
855 Views
3 Replies
Message 1 of 4

Checking Disk usage

Anonymous
Not applicable

I know I can go into the preferences and check storage availability...but I have other folders on my storage array and would like, at the OS level to check how much is being used.  I can't figure out how to do this. It's probably quite simple, but there it is...

0 Likes
Accepted solutions (1)
856 Views
3 Replies
Replies (3)
Message 2 of 4

ManChicken
Collaborator
Collaborator

In a shell

 

df -h

 

You can calculate individual directories with something like

 

du -h -s /path/to/directory

 

or leave off the -s to see the size of every dir inside that dir.

 

Bob Maple | idolum
0 Likes
Message 3 of 4

ManChicken
Collaborator
Collaborator

(there's also a little GUI app to show space on mounts, type "free" into the search box of the start menu thingy..)

Bob Maple | idolum
0 Likes
Message 4 of 4

Beau_James
Autodesk
Autodesk
Accepted solution

Shannon,

 

Long time no talk...

 

Hope this helps you:

 

Check File System Disk Space Usage
df

df -h to make hum an readable in GB

 

Display Information of all File System Disk Space Usage
df -a

 

Display Information of specific filesystem i.e. /root
df -hT /root

 

Display Information of File System in MB
df -m

 

when in doubt
df --help