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?
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?
ASKER
it started tail but not on a (v)tty. Are you sure about /dev/ttyv10?
---Lasse
---Lasse
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
(Answering for ahoffmann, many excuses:)
No it should (in all probability) be /dev/tty10.
-- Glenn
No it should (in all probability) be /dev/tty10.
-- Glenn
ASKER
Thats what I was looking for! Thanks a lot :)
Maybe I should start a HOWTO for this...
---Lasse
Maybe I should start a HOWTO for this...
---Lasse
Gör det... erhm do that:-)
-- Glenn
-- Glenn
add to your /etc/inittab:
10:3:respawn:tail -f /var/log/messages>/dev/tty