Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I would like to know how to run show commands on routers automatically .like show int br,show versn etc .i want it to run by scriptng on a regular interval of 1 hr to check the wheather y router is performing correctly or not.
can anyone help me.
routine tests are probably run better with other mechanisms like SNMP monitoring, but the tool you'll probably want to look as is called "expect", there's a nice little example of an expect script for ios here... http://blog.penumbra.be/2010/02/expe...-cisco-config/
thanks for your reply.but do you have any example of script with you which can run these commands doing telnet using putty.
My aim is to run automatic script which i can load and and the output can be stored on specific path after fixed interval.so after every interval i can see direct results.
like when i telnet router it should username ,password then go to bash and then specific path.
a result displayed directly.
the commands are
"show log severity critical
show log severity warning
show log severity error
show log " show fans show vrrp show ospf neighbor "show power detail
show power controller" show temperature show switch show memory show cpu-monitoring show EDP port "port number" "show ports configuration
show port rxerror
show port txerror
show port utilization" "show sntp-client
show switch" Validate the Mrtg Links "show tech all
"
.
HOw i can run it by scripting.
Kindly help me
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.