i used to use a program from the M$ powertools called sleep.exe but recently i found a native solution. A ping to the loopback address takes a known amount of…