I have to agree entirely with Stephen. The 25% of your CPU is due to executing the ping command.
If there is no sleep() command in DOS/Windows batch file scripting, then you really should write a little Java (or C, or Perl, or anything with a proper sleep()) and use that instead.
[Message sent by forum member 'wfay' (wfay)]
http://forums.java.net/jive/thread.jspa?messageID=300453