• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Systemlog File auslesen

Tiran

Newbie
Hi,
kurze frage und zwar wo genau ist in meinem System die Systemlog File gespeichert. System: SuSe 9.1

Und wie kann ich sie mir in der Konsole ausgeben lassen als eine ständige ausgabe jedesmal wenn etwas verändert wird soll das neue ausgegeben werden.

Ist das möglich??

MfG Alex

Thx im voraus.
 
A

Anonymous

Gast
Hi.
Code:
tail -f /var/log/messages
das darf aber nur root.
 

oc2pus

Ultimate Guru
mit tail -f /var/log/messages geht das

oder du nutzt multitail (http://www.vanheusden.com/multitail/index.html)
MultiTail lets you view one or multiple files like the original tail program. The difference is that it creates multiple windows on your console (with ncurses). It can also monitor wildcards: if another file matching the wildcard has a more recent modification date, it will automatically switch to that file. That way you can, for example, monitor a complete directory of files. Merging of 2 or even more logfiles is possible. It can also use colors while displaying the logfiles (through regular expressions), for faster recognition of what is important and what not. It can also filter lines (again with regular expressions). It has interactive menus for editing given regular expressions and deleting and adding windows. One can also have windows with the output of shell scripts and other software. When viewing the output of external software, MultiTail can mimic the functionality of tools like 'watch' and such.

RPMs gibt es hier:
http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/8.2-i386/RPMS.suser-oc2pus/multitail-3.4.3-0.oc2pus.1.i386.rpm
http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.1-i386/RPMS.suser-oc2pus/multitail-3.4.3-0.oc2pus.1.i586.rpm
http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.2-i386/RPMS.suser-oc2pus/multitail-3.4.3-0.oc2pus.1.i586.rpm
 

PC-Ulf

Member
Das Program logwatch hilft auch nett die Logdateien im Auge zu behalten, nicht nur auf die Datei /var/log/messages bezogen. Als cronjob kriege ich so jeden morgen eine nette Übersicht über alles relevante meiner Server ins Postfach.
 
Oben