[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SAGE] Solaris boot Console logging??
As said, I keep consoles attached to Annex Terminal servers and
use "conserver" on some generic Unix box to manage access to the
consoles. conserver logs the sessions, "swatch" and related can
watch those logs. I can script from that:
If you see an "^ok$", trigger a script that sleeps 60 seconds.
If "ok" is still the last line of the log, then its likely halted.
Run snmptrap with certain values.
If you just want the boot process, dmesg > /var/log/boot.`date +%blah`
might meet your needs (replace "blah").
Quoting Joseph Boyer Jr. (joseph.boyer@gs.com):
> Folks, just a quick question:
>
> Is there a way to logging the console of SUN box to a file for just the
> boot process. I know that this is done in my flavors of linux and it
> could prove to be useful for some of my servers.