[Techtalk] monitoring realtime stuffs on F1 console

Carla Schroder carla at bratgrrl.com
Sat Sep 20 14:05:07 EST 2003


On Saturday 20 September 2003 5:17 am, Conor Daly wrote:
> 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.
>


Well this has all been very fascinating, but Debian doesn't use tty- it uses 
pts:

 # ps ax|egrep bash
  740 pts/1    S      0:00 /bin/bash
  749 pts/1    S      0:00 bash
  770 pts/2    S      0:00 /bin/bash
 1215 pts/1    R      0:00 bash

At least I know where to start looking. Hint: ignore man pts, it's for 
programmers, not lowly lusers. :)

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
www.tuxcomputing.com
this message brought to you
by Libranet 2.8 and Kmail
~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the Techtalk mailing list