Topics: AIX, System Admin

df -I

The attribute "-I" (capital "i") for the df command can help you to show the actual used space within file systems, instead of giving you percentages with the regular df command:

# df -g
Filesystem    GB blocks      Free %Used    Iused %Iused Mounted on
/dev/hd4           1.00      0.76   25%     5255     2% /
/dev/hd2           4.00      1.20   70%    55403     6% /usr
/dev/hd9var        1.00      0.74   27%     5324     3% /var
/dev/hd3           1.00      0.54   46%      325     1% /tmp
/dev/hd1           1.00      0.97    4%     1334     1% /home
/proc                 -         -    -         -     -  /proc
/dev/hd10opt       0.50      0.31   39%     4162     4% /opt

# df -gI
Filesystem    GB blocks      Used      Free %Used Mounted on
/dev/hd4           1.00      0.24      0.76   25% /
/dev/hd2           4.00      2.80      1.20   70% /usr
/dev/hd9var        1.00      0.26      0.74   27% /var
/dev/hd3           1.00      0.46      0.54   46% /tmp
/dev/hd1           1.00      0.03      0.97    4% /home
/proc                 -         -         -    -  /proc
/dev/hd10opt       0.50      0.19      0.31   39% /opt




If you found this useful, here's more on the same topic(s) in our blog:


UNIX Health Check delivers software to scan Linux and AIX systems for potential issues. Run our software on your system, and receive a report in just a few minutes. UNIX Health Check is an automated check list. It will report on perfomance, capacity, stability and security issues. It will alert on configurations that can be improved per best practices, or items that should be improved per audit guidelines. A report will be generated in the format you wish, and the report includes the issues discovered and information on how to solve the issues as well.

Interested in learning more?