Link to home
Start Free TrialLog in
Avatar of housetier
housetier

asked on

monitoring on virtual terminal: HOW?

I want to have other programs than getty/login running on my virtual terminal. For example, I want to have pppstatus running on vt8, top on vt9, or a "tail -f /var/log/messages" on vt10. But I don't want to log in for that...

Furthermore, I want those to be restartet if they are accidently closed.

I remember that with an old Suse 5.0 one could monitor the installation process on vt3 or so. And during install of my Debian/GNU Linux I too have a monitor on vtXYZ.

So, somehow it must be possible to have something else than getty on a vt...

I've been searching Howtos, LDP, man-pages, info-pages, FAQs for several hours now and I didn't come any closer to a solution. Please help me!

Can I somehow tell the program on which vt it should run (just like getty is told)? Is there some tool that could run the program on a specified vt? Do you actually understand what my problem is?



Avatar of ahoffmann
ahoffmann
Flag of Germany image

never tried it, but should work as follows
add to your /etc/inittab:

10:3:respawn:tail -f /var/log/messages>/dev/ttyv10
Avatar of housetier
housetier

ASKER

it started tail but not on a (v)tty. Are you sure about /dev/ttyv10?

---Lasse
ASKER CERTIFIED SOLUTION
Avatar of Gns
Gns

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
(Answering for ahoffmann, many excuses:)
No it should (in all probability) be /dev/tty10.

-- Glenn
Thats what I was looking for! Thanks a lot :)

Maybe I should start a HOWTO for this...

---Lasse
Gör det... erhm do that:-)

-- Glenn