Gebruikershulpmiddelen

Site-hulpmiddelen


li_cli_disk_commands
Disk Usage

Show the overall disk usage

# df

To find out how much space a given directory is used

# du -s

This will output the usage of each partition in the server

# df -h

To list the size of a specific directory, run the following command:

# du -sh /home/

If you want to list all the subdirectory sizes under /home, run the following command:

# du -sh /home/*
li_cli_disk_commands.txt · Laatst gewijzigd: 2019/07/24 18:14 (Externe bewerking)