Path : /proc/2/task/2/root/proc/3/root/proc/self/root/proc/2/cwd/var/lib/zabbix/ |
Current File : //proc/2/task/2/root/proc/3/root/proc/self/root/proc/2/cwd/var/lib/zabbix/check_tcp_port.sh |
#!/bin/bash nc -z -v -w14 $1 $2 >/dev/null 2>&1 res=$? if [ "$res" != 0 ]; then echo "0" else echo "1" fi