[FoLUG]Gestione LOG Debian

Michele Mordenti michele.mordenti@tin.it
Gio 4 Set 2003 13:49:45 CEST


Stò cercando di capire come mai non si attivano i vari processi cron ed in
particolare logrotate, ma per il momento cercherò di documentarmi meglio...
Ora la cosa che mi da più fastidio è capire chi gestisce la cartella
/var/log/ksysmoops e perchè mi spara 340Mbyte di info assolutamente inutili
(se non in fase di debug di un nuovo kernel) sui moduli caricati dal kernel,
nomi e numeri di device etc..

mordmobile:~# du -h /var/log
339M    /var/log/ksymoops
80K     /var/log/exim
4.0K    /var/log/news
4.0K    /var/log/gdm
320K    /var/log/samba
4.0K    /var/log/efax
358M    /var/log

Processi attivi:
mordmobile:~# ps -fe
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 12:22 ?        00:00:00 init [3]
root         2     1  0 12:22 ?        00:00:00 [keventd]
root         3     1  0 12:22 ?        00:00:00 [ksoftirqd_CPU0]
root         4     1  0 12:22 ?        00:00:00 [kswapd]
root         5     1  0 12:22 ?        00:00:00 [bdflush]
root         6     1  0 12:22 ?        00:00:00 [kupdated]
root        58     1  0 12:22 ?        00:00:00 [kjournald]
root       118     1  0 12:23 ?        00:00:00 [khubd]
root       154     1  0 12:23 ?        00:00:00 [kjournald]
root       274     1  0 12:23 ?        00:00:00 /sbin/syslogd
root       277     1  0 12:23 ?        00:00:00 /sbin/klogd
root       287     1  0 12:23 ?        00:00:00 /usr/sbin/gpm -m /dev/psaux -t 
autops2 -Rms3
root       297     1  0 12:23 ?        00:00:00 /usr/sbin/inetd
root       314     1  0 12:23 ?        00:00:00 /usr/sbin/sshd
root       323     1  0 12:23 ?        00:00:00 /usr/bin/X11/xfs -daemon
daemon     325     1  0 12:23 ?        00:00:00 /usr/sbin/atd
root       328     1  0 12:23 ?        00:00:00 /usr/sbin/cron
mord       360     1  0 12:23 tty1     00:00:00 -bash
root       361     1  0 12:23 tty2     00:00:00 /sbin/getty 38400 tty2
etc.. etc...

Per darvi un idea del fastidio, questi sono solo i log di oggi :O!
mordmobile:/var/log/ksymoops# ll 20030904*
-rw-r--r--    1 root     root         7893 Sep  4 12:24 20030904.log
-rw-r--r--    1 root     root        74363 Sep  4 09:19 20030904091953.ksyms
-rw-r--r--    1 root     root         2295 Sep  4 09:19 20030904091953.modules
-rw-r--r--    1 root     root       215517 Sep  4 09:19 20030904091954.ksyms
-rw-r--r--    1 root     root         2447 Sep  4 09:19 20030904091954.modules
-rw-r--r--    1 root     root       219377 Sep  4 09:20 20030904092002.ksyms
-rw-r--r--    1 root     root         2471 Sep  4 09:20 20030904092002.modules
-rw-r--r--    1 root     root       215517 Sep  4 09:20 20030904092038.ksyms
-rw-r--r--    1 root     root         2438 Sep  4 09:20 20030904092038.modules
-rw-r--r--    1 root     root       215517 Sep  4 09:22 20030904092249.ksyms
-rw-r--r--    1 root     root         2411 Sep  4 09:22 20030904092249.modules
-rw-r--r--    1 root     root       215517 Sep  4 09:23 20030904092310.ksyms
-rw-r--r--    1 root     root         2411 Sep  4 09:23 20030904092310.modules
-rw-r--r--    1 root     root       215517 Sep  4 09:24 20030904092408.ksyms
-rw-r--r--    1 root     root         2411 Sep  4 09:24 20030904092408.modules
-rw-r--r--    1 root     root       215517 Sep  4 09:24 20030904092442.ksyms
-rw-r--r--    1 root     root         2411 Sep  4 09:24 20030904092442.modules
-rw-r--r--    1 root     root       215517 Sep  4 10:24 20030904102401.ksyms
-rw-r--r--    1 root     root         2411 Sep  4 10:24 20030904102401.modules
-rw-r--r--    1 root     root       215517 Sep  4 10:24 20030904102421.ksyms
-rw-r--r--    1 root     root         2411 Sep  4 10:24 20030904102421.modules
-rw-r--r--    1 root     root        62609 Sep  4 11:19 20030904111943.ksyms
-rw-r--r--    1 root     root         1914 Sep  4 11:19 20030904111943.modules
-rw-r--r--    1 root     root       215517 Sep  4 11:33 20030904113329.ksyms
-rw-r--r--    1 root     root         2402 Sep  4 11:33 20030904113329.modules
-rw-r--r--    1 root     root       215945 Sep  4 11:33 20030904113356.ksyms
-rw-r--r--    1 root     root         2456 Sep  4 11:33 20030904113356.modules
-rw-r--r--    1 root     root       216364 Sep  4 11:33 20030904113357.ksyms
-rw-r--r--    1 root     root         2501 Sep  4 11:33 20030904113357.modules
-rw-r--r--    1 root     root        74363 Sep  4 12:23 20030904122307.ksyms
-rw-r--r--    1 root     root         2295 Sep  4 12:23 20030904122307.modules
-rw-r--r--    1 root     root       215517 Sep  4 12:23 20030904122308.ksyms
-rw-r--r--    1 root     root         2447 Sep  4 12:23 20030904122308.modules
-rw-r--r--    1 root     root       219377 Sep  4 12:23 20030904122316.ksyms
-rw-r--r--    1 root     root         2471 Sep  4 12:23 20030904122316.modules
-rw-r--r--    1 root     root       215517 Sep  4 12:23 20030904122343.ksyms
-rw-r--r--    1 root     root         2438 Sep  4 12:23 20030904122343.modules
-rw-r--r--    1 root     root       216364 Sep  4 12:24 20030904122437.ksyms
-rw-r--r--    1 root     root         2501 Sep  4 12:24 20030904122437.modules
-rw-r--r--    1 root     root        62609 Sep  4  2003 20030904142257.ksyms
-rw-r--r--    1 root     root         1914 Sep  4  2003 20030904142257.modules


man logrotate
man cron
man crontab
man syslogd
man syslog.conf
La guida Debian file:/usr/share/doc/Debian/reference/reference.it.html

Altri indizi utili?

-- 
	Michele Mordenti - http://space.virgilio.it/michele.mordenti@tin.it
(o_	Powered by Debian GNU/Linux SID on DELL Inspiron 8500
//\	Linux user: 278480 - ICQ# 26479319 - Jabber ID: MonsterMord@jabber.org
V_/_	Membro del FoLUG (Forli' Linux Users Group) - http://www.folug.linux.it



Maggiori informazioni sulla lista FoLUG