astraler2k
09-19-2002, 07:52 AM
Hi,
I want delete files at /var/log.
How to restart syslogd after deleting?
Thanks
I want delete files at /var/log.
How to restart syslogd after deleting?
Thanks
![]() | View Full Version : How to restart syslogd? astraler2k 09-19-2002, 07:52 AM Hi, I want delete files at /var/log. How to restart syslogd after deleting? Thanks Haze 09-19-2002, 07:54 AM This might work: /etc/rc.d/init.d/syslog restart astraler2k 09-19-2002, 08:30 AM Thanks wlandman 09-19-2002, 01:33 PM Although most of my colleagues would disagree with me,l I would do a ps -ef or ps -aux depending on what system I was on. Then I would get the process id of the process, and do kill -HUP proccess_id This should do it... MotleyFool 09-19-2002, 02:12 PM killall -HUP syslogd is graceful and elegant in my opinion you can also find the pid as Walter says. The syslogd pid is stored in a file which I cant recall now. You can also cat its contents and then send a signal |