> > On Thu, 31 Oct 2002, Jerry McBride wrote:
<snip>
> >    To log a message into /var/log/messages you can use 'logger'.
> >
> >    Like this:
> >
> > echo "Resetting time from time.nist.gov..."
> > /usr/bin/logger -i -t rc.local "Resetting time from
> > time.nist.gov..." /usr/bin/rdate -s time.nist.gov
> >
> >
> >    It uses the syslogd utility, lets you say what the script or
> > process is that caused the logging, and specify a "text" string to
> > place in the log. See the manpage for the specifics.
> >

OK, logger is the cool trick for sending messages to /var/log/messages.
But now I'm getting greedy.
How can I send messages to the "kernel ring buffer", the thing that is 
read out when you command 
dmesg???
Thanks!

-- 
Tony Alfrey
[EMAIL PROTECTED]
"I'd rather be sailing"
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to