[TriLUG] Disk space calculations in Linux

Brian McCullough bdmc at bdmcc-us.com
Thu Jan 24 19:48:24 EST 2008


On Thu, Jan 24, 2008 at 04:42:05PM -0500, Cristóbal Palmer wrote:
> On Jan 24, 2008 4:34 PM, Brian McCullough <bdmc at bdmcc-us.com> wrote:
> > > While you're at it, can people explain why SNMP and df reportings of
> > > disk usage don't match?
> >
> > That's easy, Christobal.  ( Sorry, don't have the special keyboard. )
> 
> No worries (there's no 'h' in my name, though)


Oops!  Sorry again.


> > It's the difference between 10^3 and 2^10.
> 
> Pardon my ignorance and apparently my failure at arithmetic, but
> shouldn't a percentage be a percentage? How can two different _usage_
> numbers (that is, % of the filesystem that's used) both be right? If
> one is wrong, which is it? Maybe if you explain in a bit more depth
> I'll catch what I'm missing.

You are right about percentages.  There is, as others have explained for
me, a big difference between utilities, since some use one unit and some
use the other.

Brian





More information about the TriLUG mailing list