Re: clearing the syslog

 
kunjuttan
Super Advisor

clearing the syslog

Hi all,

how can can i able to clear the syslog...
3 REPLIES 3
Jose Mosquera
Honored Contributor

Re: clearing the syslog

Hi,

Always keep a copy (compressed or not) for you! You can empty this file by:
#> /adm/var/syslog/syslog.log
-or-
# cp /dev/null /adm/var/syslog/syslog.log

Rgds.
Sajjad Sahir
Honored Contributor

Re: clearing the syslog

Dear Kunjuttan

If you want to empty the entire file, simply do the following

# cat /dev/null > /var/adm/syslog/syslog.log

thanks and regards

Sajjad Sahir
kunjuttan
Super Advisor

Re: clearing the syslog

thanks..i got it..