Determing inode usage


While reading through the Solaris df_ufs(1m) manual page today, I came across the “-o” option:

$ df -F ufs -o i

Filesystem iused ifree %iused Mounted on
/dev/md/dsk/d0 481649 13399951 3% /

This will print the total number of inodes along with the number of inodes that are currently in use. Nifty!

This article was posted by Matty on 2005-10-16 19:22:00 -0400 -0400