dear all
i have solaris 10 and it send mail into the file syslog file how can i stop this because is too big ........ and big day by day
thanks to all
murad jaber
dear all
i have solaris 10 and it send mail into the file syslog file how can i stop this because is too big ........ and big day by day
thanks to all
murad jaber
man logadm - this will rotate the log based on your requirements
i want to stop sending mail to syslog file
modify /etc/syslog.conf and restart/HUP syslogd
i changed it but how can i restart/HUP syslogd
pgrep syslogd
kill -HUP syslog_pid
ps -ef|grep syslog
Find the process id - do a kill -HUP on the process id
Example only:
# ps -ef|grep syslog
root 759 1 0 Jan 02 ? 0:01 /usr/sbin/syslogd
root 3344 1 0 Jan 07 ? 0:02 grep syslog
# kill -HUP 759
You might want to check any local zones /etc/syslog.conf also.