Yo peeps; I'm trying to set up some simple TCP connection's logging on my Mandrake 9.2 box. �Is there a simple script or something I can write and execute that will do something like execute "date >> html_logs/ssh.log && netstat -a | grep tcp >> html_logs/ssh.log" every ten seconds or so?
I'm sure there are better alternatives to logging this, if you know any let me know. � � � � � � �Thanx � � � � � � � � � � SigmaChi -- Registered Linux user #366862 Not that you care, but this message was sent from a 750MHz Athlon system running SuSE Linux 9.1 (Kernal 2.6.5) and KMail 1.62. I aslo run Red Hat Linux 8.0 (Kernal 2.4.18), Debian GNU/Linux 3.0 (Kernal 2.2.20), Mandrake Linux 9.2 (Kernal 2.4.22), and YellowDog Linux 3.0 (Kernal 2.4.20) on various systems and architectures for various reasons. Yeah, and there's a old Mac OS in there somewhere that I use as a bootloader for Linux, and a Windows XP box used as a router for my Linux-based network, but they don't count, 'cuz they aren't "real" OS's. Who me? Biased? Nah! "Failure is not an option with Microsoft; it's bundled with the software!"
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
