aspose file tools*
The moose likes Java in General and the fly likes Ping status monitoring in regular intervals. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Ping status monitoring in regular intervals. " Watch "Ping status monitoring in regular intervals. " New topic
Author

Ping status monitoring in regular intervals.

James Rooree
Greenhorn

Joined: Jun 27, 2012
Posts: 2
Hi,

How to monitor the ping status in regular intervals using linux vmkping command via java code?
can any one help me to do this?

Thanks,
James Rooree
Aniruddh Joshi
Ranch Hand

Joined: Jul 29, 2008
Posts: 275

Welcome to the Ranch, James!
If you know the interval at which linux pings packets, maybe you can write a program which talks to linux runtime.
It can then hit the ping command and start a thread at the specified interval to read response from the Runtime.


Anrd
"One of the best things you could do is to simplify a larger application into a smaller one by reducing its process and complexity - Fowler"
James Rooree
Greenhorn

Joined: Jun 27, 2012
Posts: 2
Thank you Aniruddh!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Ping status monitoring in regular intervals.