Tuesday, August 11GNOME IT SOLUTIONS LLC

Tag: disk usage

Check Disk Space in Linux: df, du & ncdu Explained

Check Disk Space in Linux: df, du & ncdu Explained

Linux
Monitor and troubleshoot Linux disk usage with df, du, and ncdu. Step 1: Check Filesystem Usage with df Run df -h to see total, used, and available space on all mounted filesystems. Step 1: Check Filesystem Usage with df Step 2: Find Directory Sizes with du Use du -sh /path/* to find which directories consume the most space. Step 2: Find Directory Sizes with du Step 3: Interactive Analysis with ncdu Install ncdu and run ncdu /var for an interactive disk usage browser. Step 3: Interactive Analysis with ncdu df -i # check inode usage ncdu --exclude /proc / Terminal screenshots are original illustrations created for Gnome IT Solutions (blog.gnomeitsolutions.com).