![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| syslog | Hitori | UNIX for Advanced & Expert Users | 2 | 02-12-2008 02:54 PM |
| syslog | csaunders | SUN Solaris | 13 | 08-29-2006 05:13 PM |
| syslog.log - hp-ux | mhbd | UNIX for Dummies Questions & Answers | 3 | 03-11-2006 12:29 PM |
| syslog | greg0320 | UNIX for Dummies Questions & Answers | 4 | 06-11-2004 11:26 AM |
| Who knows syslog? | acqy | UNIX for Dummies Questions & Answers | 3 | 01-06-2004 02:56 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
syslog hup
Hi All,
I modified /etc/syslog.conf and execute kill -HUP syslogd_PID. There's nothing changes on the PID when I did ps -ef|grep syslogd. It's the same. Do you think it restarted the process of syslogd? Thanks in advance. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
That is exactly what you expect when you kill -HUP a daemon, the pid should not change.
|
|
#3
|
|||
|
|||
|
You could always change your script to add the output of the command afterwards such as:
kill -HUP syslog_pid ; echo $? >> some_file if there are any non 0s in there, you have a problem |
|
#4
|
||||
|
||||
|
That's what you expect
Doing kill -HUP will not restart the process. It will just tell it to reread syslog.conf. What you are seeing is as expected.
|
||||
| Google The UNIX and Linux Forums |