Trace: » checking_disk_usage

Login

You are currently not logged in! Enter your authentication credentials below to log in. You need to have cookies enabled to log in.

Login

You don't have an account yet? Just get one: Register

Forgotten your password? Get a new one: Send new password

Disk Usage

Show the Disk Usage

  df -h

File System Usage

Show the current file system usage of each subdirectory of the root directory

  du -hs /*

Show file system usage of the current directory

  du -hs ./*

When They Don't Match

When the df and du commands return different results, lsof is your friend!

Sometimes, files get ‘unlinked’ from the filesystem. They could have been deleted but held open by a process. You can find them by typing

sudo lsof | grep deleted

or perhaps

sudo lsof | grep DEL

Sometimes you can find a process is holding onto a file so you can kill it, or try a reboot.