1. Linux view disk usage

The order is as follows:

Cleaning method of Linux disk full

2. Linux view disk usage of current folder

The order is as follows:

Cleaning method of Linux disk full

3. Delete the most space consuming files, such as log files

The order is as follows:

Cleaning method of Linux disk full

4. Deleted files may still be in use by processes

(1) If you know the file name:

Cleaning method of Linux disk full

Find out what process is using this file, and then kill it to free up space.

(2) If you don’t know the file name:

Cleaning method of Linux disk full

This will find all the deleted files, but the file handle is not released. After finding them, you can kill them.

That’s how to clean up a full Linux disk.

Tagged:

Leave a Reply

Your email address will not be published. Required fields are marked *