Putting messages in dmesg or /var/log/messages

2013-07-01 Thread Bauer, Bobby (NIH/CIT) [E]
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

Re: Putting messages in dmesg or /var/log/messages

2013-07-01 Thread Veencamp, Jonathon D.
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

Re: Putting messages in dmesg or /var/log/messages

2013-07-01 Thread Bauer, Bobby (NIH/CIT) [E]
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.

Re: Putting messages in dmesg or /var/log/messages

2013-07-01 Thread David Boyes
Use logger and run the script from a separate init script with a dependency on the syslog startup script. Putting your message into a separate script will let you install it as an RPM and let init rearrange it as necessary. Rc.local is very early in the startup, so you can't use syslog until

Re: Putting messages in dmesg or /var/log/messages

2013-07-01 Thread Rick Troth
Yeah ... 'logger' is pretty handy. Is available on other systems too. Following what David said, you will want the SYSLOG service up and running for 'logger' to have any effect. (According to design, the logged traffic would drop into oblivion if 'syslogd' is not running, so as to avoid lock-up

Re: Putting messages in dmesg or /var/log/messages

2013-07-01 Thread Bauer, Bobby (NIH/CIT) [E]
Logger from rc.local seems to be working put I'll look into an init script. Never written one of those. Time to get out the books. Bobby Bauer Center for Information Technology National Institutes of Health Bethesda, MD 20892-5628 301-594-7474 -Original Message- From: Rick Troth

Re: Putting messages in dmesg or /var/log/messages

2013-07-01 Thread David Boyes
The dependency relationships are traditionally in comments at the start of each INIT script. 'systemd' changes the game. I won't waste time discussing that unless you are already suffering under its weight. There are easy tools for scarfing up init script dependencies into systemd.

Writing article for Destination z on IBM Academic Initiative

2013-07-01 Thread Gabe Goldberg
Anyone here have experience with it? http://www-03.ibm.com/ibm/university/academic/pub/page/academic_initiative http://www-03.ibm.com/ibm/university/academic/pub/page/systemz Have you taken classes. entered competitions, taught classes, hired graduates, been to a local Academic Initiative

Re: Putting messages in dmesg or /var/log/messages

2013-07-01 Thread David Boyes
Logger from rc.local seems to be working put I'll look into an init script. Never written one of those. Time to get out the books. It's pretty easy. Copy one of the existing ones (nfsd is a good one to start with -- it has dependencies already, so you can see how they work). For what you want

Re: Putting messages in dmesg or /var/log/messages

2013-07-01 Thread Rodger Donaldson
On Mon, Jul 01, 2013 at 06:05:47PM +, Bauer, Bobby (NIH/CIT) [E] wrote: I did not know of the logger command. The man page and a quick test. Looks like just what we need, thanks If either is available on your distro, syslog-ng and rsyslogd both include a file agent that can be configured

LARS Batch package restore

2013-07-01 Thread David Boyes
A little while ago, someone was looking for a decent CMS batch system. The Purdue LARS batch code (source, docs and modules) is available from http://download.sinenomine.net/cmsbatch. I think I got all the pieces, but let me know if there are pieces missing. I don't think you need the CP mods

Re: LARS Batch package restore

2013-07-01 Thread Mike Noel
Thanks Dave, I think the 'someone' might have been me, at least I emailed you reporting a bad link to this code on your site . Unfortunately I don't recall exactly why I was interested... Mike On Mon, Jul 1, 2013 at 2:06 PM, David Boyes dbo...@sinenomine.net wrote: A little while ago, someone

Re: LARS Batch package restore

2013-07-01 Thread David Boyes
Thanks Dave, I think the 'someone' might have been me, at least I emailed you reporting a bad link to this code on your site . Unfortunately I don't recall exactly why I was interested... Mike I think you were going to use it to submit startup tasks during startup. I apologize for the

Re: Putting messages in dmesg or /var/log/messages

2013-07-01 Thread Srivastava, Sagar
Logger is the command. Sagar -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 2:00 PM To: LINUX-390@VM.MARIST.EDU Subject: Putting messages in dmesg or /var/log/messages Is there some way I