Re: /var/log
Hi Klaus,
Am 2006-03-11 18:56:11, schrieb Klaus Becker:
> /var/log# du -h * | sort -nr | grep M
> 695M syslog.0
> 695M kern.log.0
> 694M messages.0
> 379M syslog
> 379M kern.log
> 378M messages
Cool, wie alt sind die Logdateien? - 2 Jahre?
> Frage: wie kann ich die Größe dieser Dateien beschränken? Kann ich die
> bestehenden Dateien einfach löschen oder leeren?
Die Dateien werden mit savelog rotiert und due solltest im
+---[ cmd 'ls -AlG /etc/cron.daily/' ]-----------------
|
| -rwxr-xr-x 1 root 89 2005-05-25 11:49 logrotate
| -rwxr-xr-x 1 root 1309 2006-03-15 21:47 sysklogd
+------------------------------------------------------
haben, was die LOG-Datein täglich rotiert...
Greetings
Michelle Konzack
Systemadministrator
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
Reply to:
- References:
- /var/log
- From: Klaus Becker <colonius@free.fr>