find largest files/directories on 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

  • 1 Χρήστες που βρήκαν το παρόν κατατοπιστικό
Η απάντηση ήταν κατατοπιστική?

Σχετικά άρθρα

OpenVZ basic commands

Following are some important commands which are normally used while working on a Hardware...

Howto List existing VPS

SSH to the master server and run the following command:/usr/sbin/vzlist -aThe -a switch tells the...

Install shoutcast server on CentOS server

Shoutcast is a free-of-charge audio homesteading solution. It permits anyone on the internet to...

How to integrate XCache into PHP5 on a Fedora 8 or CentOS 5.1 system (with Apache2)

From the XCache project page: “XCache is a fast, stable PHP opcode cacher that has been...

Setup VNC server on VPS

We will discuss  setting up your VPS as a VNC server and using a client from your Windows...