both commands zero the /var/log/messages file but using > will not spawn a new process. so you'll need to restart syslogd. (only on solaris but not on linux)
3 comments:
Anonymous
said...
why do you need to spaw another process? Will the syslogd work after the ">" without restaring the syslogd?
3 comments:
why do you need to spaw another process? Will the syslogd work after the ">" without restaring the syslogd?
will not work. nothing will be log unless u restart syslogd after using >, even though syslogd already running... heran gak aku!
Jadi kat aku hari tu. Satu hari log tak masuk...sib bak aku check balik kalau tak kena fired dah :D
Post a Comment