I did not know of the logger command. The man page and a quick test. Looks like 
just what we need, thanks

Bobby Bauer
Center for Information Technology
National Institutes of Health
Bethesda, MD 20892-5628
301-594-7474


-----Original Message-----
From: Veencamp, Jonathon D. [mailto:jdveenc...@fedins.com] 
Sent: Monday, July 01, 2013 2:02 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Putting messages in dmesg or /var/log/messages

Have you looked at the logger command? It allows user use of the syslog service 
with control over severity and facility of the messages.

Good luck!
Jon

-----Original Message-----
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Bauer, 
Bobby (NIH/CIT) [E]
Sent: Monday, July 01, 2013 1:00 PM
To: LINUX-390@VM.MARIST.EDU
Subject: Putting messages in dmesg or /var/log/messages

Is there some way I can put messages in either dmesg or /var/log/messages. At 
boot time we run a script from rc.local and I'd like to record it. I tried an 
echo command, that didn't work. Any suggestions would be appreciated.

Thanks
Bobby Bauer
Center for Information Technology
National Institutes of Health
Bethesda, MD 20892-5628
301-594-7474


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit http://wiki.linuxvm.org/

________________________________

The information contained in this e-mail message is intended only for the 
personal and confidential use of the designated recipient(s) named above. This 
message may be an attorney-client or work product communication which is 
privileged and confidential. It may also contain protected health information 
that is protected by federal law. If you have received this communication in 
error, please notify us immediately by telephone and destroy (shred) the 
original message and all attachments. Any review, dissemination, distribution 
or copying of this message by any person other than the intended recipient(s) 
or their authorized agents is strictly prohibited. Thank you.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send email to 
lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to