Unix shell script for traceroute monitoring - Beginner question
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > Unix shell script for traceroute monitoring - Beginner question




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Unix shell script for traceroute monitoring - Beginner question  
underh20.scubadiving@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-07-07 01:01 AM

I am trying to write a shell script to monitor network performance via
traceroute with the following specifics :

Goal :

-   Run traceroute to a list of addresses and capture each result with
time stamp;  sleep for 4 minutes between each traceroute run

-   All output will go to a timestamped log

To run:   $   file-name X      ***where X is number of iteration


Any idea what's the best way to approach this ?

Thanks,

Bill






[ Post a follow-up to this message ]



    Re: Unix shell script for traceroute monitoring - Beginner question  
Gerry Sinkiewicz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-07-07 01:01 AM


<underh20.scubadiving@gmail.com> wrote in message
news:1167933249.099293.234110@42g2000cwt.googlegroups.com...
> I am trying to write a shell script to monitor network performance via
> traceroute with the following specifics :
>
> Goal :
>
> -   Run traceroute to a list of addresses and capture each result with
> time stamp;  sleep for 4 minutes between each traceroute run
>
>  -   All output will go to a timestamped log
>
> To run:   $   file-name X      ***where X is number of iteration
>
>
> Any idea what's the best way to approach this ?
>
> Thanks,
>
> Bill
>

redirect the output to a file.
awk the file so that only the columns you want exist (fqdns, time).
insert the resulting file records into a database adding a timestamp.
report from the database (MySQL, Oracle, etc).







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:39 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register