I'm looking for the state-of-art to continuously display live log in a virtual terminal.
After boot, I want to have the normal login terminal on ttyv0, and display logs on ttyv1
A redirection works (launch by cron), but I like to replace the getty login with a custom command like 'tail -f /var/log/...' or 'iftop ...'
I try to modify /dev/ttys, but I don't think it's the right way.
Thanks for help...
After boot, I want to have the normal login terminal on ttyv0, and display logs on ttyv1
A redirection works (launch by cron), but I like to replace the getty login with a custom command like 'tail -f /var/log/...' or 'iftop ...'
I try to modify /dev/ttys, but I don't think it's the right way.
Thanks for help...