Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: RRD-Ping getting values on right interval

by TJPride (Pilgrim)
on Nov 30, 2011 at 08:37 UTC ( #940795=note: print w/replies, xml ) Need Help??


in reply to RRD-Ping getting values on right interval

Depends on what you mean by "exactly". If it's ok to be a second or so off, it may be enough to just keep sleeping for 1 second and then checking the time to see if it's "exactly" when you need to do the next step. Just keep synchronized on system time. Beyond that, you'll have to get into milliseconds, which I'm sure someone else can supply code for (it's been too long and I don't remember the commands).
  • Comment on Re: RRD-Ping getting values on right interval

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2017-02-25 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (369 votes). Check out past polls.