Replaced ps command with ping command.