User Tools

Site Tools


usersguide:workingwithstorage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

usersguide:workingwithstorage [2014/11/11 14:52]
usersguide:workingwithstorage [2014/11/11 14:52] (current)
Line 1: Line 1:
 +====== Working with Storage ======
 +
 +To check storage space usage, type:
 +
 +<​code>​
 +# df -h
 +</​code>​
 +
 +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:
 +
 +<​code>​
 +# man df
 +</​code>​
 +
 +
 +If you want to know how large a directory is, you can find out with //du//:
 +
 +<​code>​
 +# du -sk /usr/pkg
 +</​code>​
 +
 +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: 
 +<​code>​
 +# man du
 +</​code>​
  
usersguide/workingwithstorage.txt · Last modified: 2014/11/11 14:52 (external edit)