User Tools

Site Tools


usersguide:workingwithstorage

Working with Storage

To check storage space usage, type:

# df -h

This utility will show a table explaining how much space has been used in your storage devices and partitions as well as how much is remaining. -h prints values in human format, for more details, see the man page:

# man df

If you want to know how large a directory is, you can find out with du:

# du -sk /usr/pkg

The -s option asks for the sum or total space used. The -k option causes the result to be shown in kilobytes (instead of 512-byte blocks).

For more information, like other options (-h for example) please refer to the man page:

# man du
usersguide/workingwithstorage.txt · Last modified: 2014/11/11 08:52 (external edit)