NEW VPS Plans

ServerTune provides -- managed and un-managed -- VPS hosting solutions at affordable prices to accommodate your personal and/or businesses needs.

Click here for more info ...

NEW VPS Plans

Click to hideClick to view
ServerTune

Browse by category

Search    |    Advanced search

How can I find the largest files and/or directories on my server?

If you wish to find out what file or directory is taking up the most space, SSH to the server and run the following command:

du -a /usr/local | sort -n -r | head -n 50

The system will display the 50 largest files and/or directores in /usr/local directory.

Printer Friendly
 
email to a friend
Email to friend
 
Add comment
Add comment
 
Views: 547
 
Votes: 0
 
Comments: 0
 
Posted: 09 Jul, 2007 by: Customer Service S.
Updated: 08 Mar, 2011 by: Customer Service S.

Other articles in this Category

Article
Article
Article
Article
Article
Article
Article
Article
Article
Article
Article
Article
RSS