Xymon Mailing List Archive search

File and dir size's wrong

list Paul Ward
Mon, 12 Jan 2009 16:07:23 +1300
Message-Id: <user-4075da9ea294@xymon.invalid>

I tested what you said but it failed.

I had never heard of using +4 on du anyway, does this actually work??

[dir:/home/xymon]
/usr/bin/du: invalid option -- +
/usr/bin/du: invalid option -- 4
Try `/usr/bin/du --help' for more information.


2009/1/9 Sødal Olav (Geomatikk) <user-2140f001066b@xymon.invalid>:
Try "-k+4"

-----Opprinnelig melding-----
Fra: Paul Ward [mailto:user-0f18dc2f935b@xymon.invalid]
Sendt: 9. januar 2009 01:41
Til: user-ae9b8668bcde@xymon.invalid
Emne: [hobbit] File and dir size's wrong

Hi,

I have installed xymon on centos5 from source.

For some reason the files and dirs are incorrect.
My /home/xymon folder is 40MB but is only reported as 40k

I put DU="du -k" into the hobbitserver.cfg hoping to report the folder
in the same measurements but it is not working.

Any ideas?

Thanks
--

email: user-0f18dc2f935b@xymon.invalid
website: http://www.pward.co.uk
MSN: user-a51fe8e4fa06@xymon.invalid
Skype: paul.n.ward


--

email: user-0f18dc2f935b@xymon.invalid
website: http://www.pward.co.uk
MSN: user-a51fe8e4fa06@xymon.invalid
Skype: paul.n.ward

-- 

email: user-0f18dc2f935b@xymon.invalid
website: http://www.pward.co.uk
MSN: user-a51fe8e4fa06@xymon.invalid
Skype: paul.n.ward