Unix/Linux Filesystem inspectors

(imported topic written by SystemAdmin)

I have been working on a customized filesystem analysis for Unix/Linux servers and noticed a strange inconsistency with the “free space” inspector and from there the percentages inspectors too.

Linux (RH)

Filesystem 1K-blocks Used Available Use% Mounted on

/dev/cciss/c0d0p5 8256808 4907004 2930468 63% /var

Q: (used space of filesystem “/var”) / 1024

A: 4907004

Q: used percent of filesystem “/var”

A: 59

Q: (free space of filesystem “/var”) / 1024

A: 3349556

Q: free percent of filesystem “/var”

A: 40

I did the same test on HP-UX and Solaris, and observed the same kind of inconsistency. Is there some kind of system/hidden files that are unaccounted for or something like that because a difference of a few percent is substantial?

Thank you.