xterm -e tail -s 10 filename.log ? or maybe konsole -e tail -s 10 filename.log
Hello there, I have a script I use to perform backups to another LAN connected machine, and during the course of the backups, three log files are generated. I was wondering how I could spawn new konsole windows from within the shell script, so that I can ‘tail -f’ these log files and keep track of what is going on. Is this possible or am I really opening a can of worms?
Asus A8V Deluxe Mobo
AMD Athlon64 X2 4400 -939
2GB Crucial DDR3200 Dual-Channel
ATi AiW 9800 Pro 128DDR
Audigy2 ZS
Sony DRU-810 DVD+RW DL
3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
1 x Maxtor MaxLine SATA 120Gb 16Mb Cache
xterm -e tail -s 10 filename.log ? or maybe konsole -e tail -s 10 filename.log
telnet mtrek.game-host.org 1701
I apologize for not getting back to this sooner. I am a little overwhelmed with work and school, not to mention wife, kiddo, and house. I haven’t even had the chance to try this. Hopefully, I will be able to by the weekend. Thanks for the quick response though!
Asus A8V Deluxe Mobo
AMD Athlon64 X2 4400 -939
2GB Crucial DDR3200 Dual-Channel
ATi AiW 9800 Pro 128DDR
Audigy2 ZS
Sony DRU-810 DVD+RW DL
3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
1 x Maxtor MaxLine SATA 120Gb 16Mb Cache
Okay, I tried this out, but the konsole windows just don’t stay open. They just open then close…
Asus A8V Deluxe Mobo
AMD Athlon64 X2 4400 -939
2GB Crucial DDR3200 Dual-Channel
ATi AiW 9800 Pro 128DDR
Audigy2 ZS
Sony DRU-810 DVD+RW DL
3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
1 x Maxtor MaxLine SATA 120Gb 16Mb Cache
okie – try this
(oh yea – i am in the same busy boat you are)
xterm -e "tail –follow=descriptor –sleep-interval=1 /path/file"
telnet mtrek.game-host.org 1701
try to recompile your Konsole
sorry bad idea … if you start your console again there will be an error warning.
Bookmarks