Dell 720N Laptop User Manual


 
Filer Administration Basics 2-25
([DPSOH/LQH)URPHWFV\VORJFRQI
The following example causes all kernel messages of levels
emerg
,
alert
,
crit
,
and
err
to be sent to the
/etc/messages
file:
HUUNHUQHWFPHVVDJHV
7KHHWFPHVVDJHV)LOH5HVWDUW6FKHGXOH
Every Sunday at midnight, the
/etc/messages
file is copied to
/etc/messages.0
, the
/etc/messages.0
file is copied to
/etc/messages.1
, and so on. The system saves mes-
sages for up to six weeks.
&KHFNLQJWKHHWFPHVVDJHV)LOH'DLO\
Check the
/etc/messages
file once a day for important messages. You can automate
checking this file by creating a script on the administration host that periodically
searches
/etc/messages
and then alerts you.
6DPSOHHWFV\VORJFRQI)LOH
The following example shows a customized
/etc/syslog.conf
file:
/RJDQ\WKLQJRIOHYHOLQIRRUKLJKHUWRHWFPHVVDJHV
LQIRHWFPHVVDJHV
/RJDOONHUQHOPHVVDJHVDQGDQ\WKLQJRIOHYHOHUURU
KLJKHUWRWKHFRQVROH
HUUNHUQGHYFRQVROH
/RJDOONHUQHOPHVVDJHVDQGDQ\WKLQJRIOHYHOHUURU
KLJKHUWRDUHPRWHORJKRVWV\VWHPFDOOHGDGPLQKRVW
HUUNHUQ#DGPLQKRVW
/RJPHVVDJHVIURPWKHDXWKHQWLFDWLRQV\VWHPRIOHYHOQRWLFH
RUKLJKHUWRWKHHWFVHFXUHPHVVDJHILOH7KLVILOHKDV
UHVWULFWHGDFFHVV
DXWKQRWLFHHWFVHFXUHPHVVDJH
Send messages to the console.
/dev/console
or
*
7DEOHDFWLRQ3DUDPHWHUV
FRQWLQXHG
$FWLRQ ([DPSOH