Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what is using up file system space

Status
Not open for further replies.

nabob1

Programmer
Jul 18, 2003
44
US
Can anyone give me a command or script to probe what is using up file system space regarding user, size, date and any pertinent information, thanks.
 
using the find command will give you all the info required - have a look at the man page.
du will give you the disk usage per file / directory, again look at the man page
 
du -ak /scitex | sort -n -r | head -10

Display 10 biggest directories on the volume by size
------------------------------
find /scitex -xdev -size +2048 -ls|sort -rn +6|head -10

to find 10 top files in the root (/) directory larger than 1 MB.
”-xdev” helps searching ONLY in “/”

"Long live king Moshiach !"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top