Xymon Mailing List Archive search

File and dir size's wrong

list Paul Ward
Thu, 15 Jan 2009 08:23:59 +1300
Message-Id: <user-9ed2325d9a71@xymon.invalid>

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 <user-0f18dc2f935b@xymon.invalid>:
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 <user-0f18dc2f935b@xymon.invalid>:
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?