How to know the disk usage only for root partition (/)?

Solution Verified - Updated -

Issue

  • How to know the disk usage of root partition (/) only and not of other partitions beneath it?
  • Would like to check whats there in root partition (/)
  • What is the command to check the disk space utilization for root partition (/) and not for /home,/tmp,/var,/usr and /boot partitions?
  Filesystem 1K-blocks Used Available Use% Mounted on 
  /dev/cciss/c0d0p5 9920592 7827876 1580648 84% / 
  /dev/cciss/c0d0p8 988088 48528 888556 6% /home 
  /dev/cciss/c0d0p7 1984016 35908 1845696 2% /tmp 
  /dev/cciss/c0d0p6 1984016 333364 1548240 18% /var 
  /dev/cciss/c0d0p3 9920624 3474760 5933796 37% /usr 
  /dev/cciss/c0d0p1 988088 38172 898912 5% /boot

Environment

  • Red Hat Enterprise Linux (all versions)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In