echo local console to a telnet session
I am trying to see the output to the local monitor via telnet session. I would like to echo all errors, etc that go to the local monitor to my telnet session. How?
TIA for the help. |
I don't believe you can.
Normally such output is redirected to syslog, so a simple tail -f /var/log/messages will get most of that. |
Still need help
Unfortunatley looking at syslog is of no help. I suspect I am getting errors and the system locks up before it can write to syslog. That is why I was hoping to have a telnet session open to see if any errors go to the console prior to lockup. Any suggestions are appreciate. System locks up with no errors in messages, etc.
TIA |
The only sure thing (well, relatively anyway) is to use a serial console and attach that to a different system.
This is because messages at that level don't leave the kernel... they only show up on the console (usually). You have to then boot with the options "console=tty0 console=ttyS1,19200n8" (the 19200n8 sets the baud rate, no parity, 8 bit operation). http://www.cyberciti.biz/faq/linux-s...console-howto/ |
All times are GMT -5. The time now is 06:35 PM. |