> >I want to monitor a console on HP-UX 9.04 system without rendering
> >the console unusable. Currently HP-UX 9.04 does have a facility to
> >capture MOST messages via syslog but unfortunately some UNIX programs
> >and third party applications write directly to /dev/console. These
> >are the nasties I need to capture.
> >Any help would be greatly appreciated......
> I,too, would like some info.
> --
On a HP 9000/800 its is easy. Just connect a printer to your second
console port and away you go. This will give lots of paper that might
not be suitable. What we did was to connect the second console port to
a terminal server. This then allowed remote access to the console when
the machine was in single user mode. The second port is an output device
only unless control is switched across. This prevents two people having
input to the console at the same time. Once you have connected the port
to a terminal server you can also then write some TCP/IP programs to
connect to the terminal server and monitor the data.
With a 700 series machine I have no idea but I suspect something can be
done. What about changing the name of /dev/console to something else
and then creating a named pipe called /dev/console and have a program
reading from the named pipe do the monitoring you require. It would also
pass the info onto the real /dev/console. I haven't actually tried this
but I would be interested in giving it a try.
Ian J