[hobbit] File and dir size's wrong

Paul Ward pnward at googlemail.com
Wed Jan 14 20:23:59 CET 2009


Hi all,

Does anybody have any idea why my stats are wrong on file reporting
and how I can fix it?



2009/1/13 Paul Ward <pnward at googlemail.com>:

> Sorry, just noticed my link was not working to the image try this:
>
> http://img177.imageshack.us/my.php?image=hobbitgraphshsn2.png
>
> 2009/1/13 Paul Ward <pnward at googlemail.com>:
>> Hi,
>>
>> I have drilled down a little more and understand the graph is shown in
>> KB and admit I was mis reading some of the data.
>>
>> However when looking at roots mail I see the following:
>>
>>
>> [logfile:/var/spool/mail/root]
>> type:100000 (file)
>> mode:640 (-rw-r-----)
>> linkcount:1
>> owner:0 (root)
>> group:501 (xymon)
>> size:99087
>> clock:1231790856 (2009/01/13-09:07:36)
>> atime:1231790856 (2009/01/13-09:07:36)
>> ctime:1231772532 (2009/01/13-04:02:12)
>> mtime:1231772532 (2009/01/13-04:02:12)
>>
>> I assume root is 99087 which is 90MB?
>>
>> however when I perform a ls -lk I get:
>> -rw-r----- 1 root xymon 97 Jan 13 04:02 root
>> or
>> ls -lh
>> -rw-r----- 1 root xymon 97K Jan 13 04:02 root
>>
>> I am confused why this is happening?



More information about the Xymon mailing list