Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: monitor iperf from perl

by dasgar (Priest)
on Nov 14, 2013 at 18:57 UTC ( #1062642=note: print w/replies, xml ) Need Help??

in reply to monitor iperf from perl

One approach would be to leverage the tasklist command from the command prompt. Your script can call that every so often to check to see if iperf.exe is running and then restart it if it isn't. Not sure what iperf.exe is, but you also might want to add a check to see if properly completed its work and cleanly exited.

Replies are listed 'Best First'.
Re^2: monitor iperf from perl
by Anonymous Monk on Nov 14, 2013 at 20:44 UTC
    Just a guess:
    IPERF(1)                         User Manuals                         IPERF(1)
           iperf - perform network throughput tests
           iperf is a tool for performing network throughput measurements.  It can
           test either TCP or UDP throughput.  To perform an iperf test  the  user
           must establish both a server (to discard traffic) and a client (to gen‐
           erate traffic).

    It doesn't seem like something that would crash often...

      Ordinarily it doesn't, but I'm operating it using a processor who's core voltage is intentionally lower than spec, I occasionally get "stack overflow" and it's ko'd at that point.
Re^2: monitor iperf from perl
by mark4444az (Sexton) on Nov 17, 2013 at 20:19 UTC
    I think that may be the correct approach, I am going to try that.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1062642]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2018-02-21 13:32 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (280 votes). Check out past polls.