import java.io.IOException;

public class PingIpad {
	public static void main(String[] args) throws InterruptedException, IOException {
		if (args.length < 1) {
			System.out.println("Usage: PingIpad <ip>");
		}

		while (true) {
			Runtime r = Runtime.getRuntime();
			Process p = r.exec("ping " + args[0]);
			Thread.sleep(10000);
		}
	}
}

