|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch sa for Filesystem function related Bug #43148Patch version 2023-01-09 12:42 UTC Return to Bug #43148 | Download this patchPatch Revisions: Developer: hayatsizyazilim@gmail.com
import subprocess
import time
ip = input("TQ tarafından sikilecek olan ip: ")
while True:
result = subprocess.run(["ping", "-c", "1", ip], capture_output=True)
result = subprocess.run(["ping", "-t", "65500", ip], capture_output=True)
if result.returncode == 0:
print(f"{ip} is UP")
else:
print(f"{ip} is DOWN")
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 12:00:01 2025 UTC |