Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Manage the periodic logs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Manage the periodic logs
Authored by: BlackPenguin on Jul 25, '08 08:28:55AM

[21:02:42@/]$ ls -alOFG /private/var/log/*.out
-rw-r--r--  1 root  wheel  - 509376 17 Jul 03:15 /private/var/log/daily.out
-rw-r--r--  1 root  wheel  -    676  1 Jul 07:52
-rw-r--r--  1 root  wheel  -  10023 12 Jul 03:25
I'm not sure if this is what you had intended... but your daily.log isn't 0.5 GB. The daily.log is weighing in at about 0.5 MB (497 KB, more precisely). With the ls command you used, the sizes are reported in bytes. Try the -h flag.

[ Reply to This | # ]