[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] delete /var/cobalt/log files



Hi, I posted a question similar to this a while back 
but didn't get much of any input so, here goes again.

My var is filling up again, but it seems the files
causing the problem are in the /var/cobalt directory.

Does anyone know if it's ok to zero out all of these log files
in /var/cobalt/ ? I have them backed up, so it's just a case
of freeing up space.
I would write a script to zero the files leaving them and
their permission intact.

So, whatcha think?

Here's the file list..... note that groupspace.log is over 80MBytes!
The total log space here is over 163 MBytes!! 
Have you ever looked at the groupspace.log file, WOW!
(that's a lot of valuable realestate on a little RAQ2 )

[root /var]# cd cobalt/
[root cobalt]# ls -la ./*.log
-rw-r--r--   1 root     root      2821019 Jul 23 12:30 ./adm.log
-rw-r--r--   1 root     root            0 Aug  3  2001 ./atalk.log
-rw-r--r--   1 root     root      2378527 Jul 23 12:30 ./cpu.log
-rw-r--r--   1 root     root     15925788 Jul 23 12:30 ./crond.log
-rw-r--r--   1 root     root      2649295 Jul 23 12:30 ./custo.log
-rw-r--r--   1 root     root      5671000 Jul 23 12:30 ./dns.log
-rw-r--r--   1 root     root      5236754 Jul 23 12:30 ./filesystem.log
-rw-r--r--   1 root     root      2944140 Jul 23 12:30 ./ftp.log
-rw-r--r--   1 root     root     84328812 Jul 23 12:30 ./groupspace.log
-rw-r--r--   1 root     root      2638566 Jul 23 12:30 ./inetd.log
-rw-r--r--   1 root     root      2449633 Jul 23 12:30 ./lcd.log
-rw-r--r--   1 root     root      6775141 Jul 23 12:30 ./mail.log
-rw-r--r--   1 root     root      4203858 Jul 23 12:30 ./mem.log
-rw-r--r--   1 root     root            0 Aug  3  2001 ./modem.log
-rw-r--r--   1 root     root      3701423 Jul 23 12:30 ./net.log
-rw-r--r--   1 root     root            0 Aug  3  2001 ./nfs.log
-rw-r--r--   1 root     root            0 Aug  3  2001 ./ntp.log
-rw-r--r--   1 root     root      7014806 Jul 23 12:30 ./portmap.log
-rw-r--r--   1 root     root       419499 Jul 23 12:20 ./sauce.log
-rw-r--r--   1 root     root            0 Aug  3  2001 ./smb.log
-rw-r--r--   1 root     root      7100668 Jul 23 12:30 ./snmp.log
-rw-r--r--   1 root     root            0 Aug  3  2001 ./ssl.log
-rw-r--r--   1 root     root     11097871 Jul 23 12:30 ./telnet.log
-rw-r--r--   1 root     root      1620835 Jul 23 12:30 ./userspace.log
-rw-r--r--   1 root     root      2392462 Jul 23 12:30 ./www.log


Paul ASI