[Techtalk] monitoring realtime stuffs on F1 console

Conor Daly conor.daly at oceanfree.net
Sat Sep 20 13:17:29 EST 2003


On Sat, Sep 20, 2003 at 06:14:56PM +1000 or so it is rumoured hereabouts, 
John Clarke thought:
> On Fri, Sep 19, 2003 at 07:14:01 -0700, Carla Schroder wrote:
> 
> > On Linuxes past I was accustomed to switching to console F1 to see what was 
> 
> This still works for me (redhat 7.3, kernel 2.4.20, xfree86 4.2.1).
> 
> > current system does not do this- when I switch to F1 there's just a plain ole 
> > boring login prompt. Any notions how to make it come back? 
> 
> Maybe you didn't login on vc1.  ps ax|egrep 'tty[0-9].*bash'

I'm assuming this means booting in runlevel 3 and then using 'startx' to
get a GUI.  I boot to runlevel 5 so, like Clara, F1 has a login prompt.  I
stuck a few 'log to vcX' lines in /etc/syslog.conf:

# Log sshd messages to tty10
local5.*						/dev/tty10
kern.*                                                  /dev/tty11
*.info;mail.none;authpriv.none                          /dev/tty12

I know these aren't quite what you're after but they're very handy when
debugging new hardware installations.

Oh, and /etc/rc.local has:

ssh hobbiton 'tail -f /var/log/ppp-up.log' > /dev/tty9 &

to keep a running display of email activity on console 9.

Conor
-- 
Conor Daly <conor.daly at oceanfree.net>

Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
  1:13pm  up 33 days, 19:46,  0 users,  load average: 0.00, 0.00, 0.00
Hobbiton.cod.ie
  1:10pm  up 33 days, 19:44,  1 user,  load average: 0.05, 0.04, 0.01


More information about the Techtalk mailing list