Linux Logging to Alt Console

SKiTLz

2[H]4U
Joined
Aug 3, 2003
Messages
2,664
Is it possible to send say all kernel logs to /dev/tty10 and ssh in and view tty in realtime?

Trying to have some things log to screen so I can view them in realtime.

I can just edit /etc/syslog.conf and change the output but I dont know how to view that terminal once i login.

Any ideas?
 
Originally posted by Zlash
Just switch over to tty10 or whatever.

Ctrl-Alt-F10

you cant in a ssh session from a client... If I was at the console fine... but Im not
 
output everything to a file. use tail -f to watch the file
 
you could set it up like this: have a list of logs you wanted to view in ~/log_list
then have a script run regularly:
#!/bin/sh
for x in cat ~/log_list; do tail x >>~/logs; done
cat ~/logs

then just run that script when you want to see a catted output of the log files
 
Back
Top