Path : /proc/2/cwd/proc/3/root/proc/3/task/3/root/proc/3/root/var/lib/zabbix/ |
Current File : //proc/2/cwd/proc/3/root/proc/3/task/3/root/proc/3/root/var/lib/zabbix/mysql_replication.sh |
#!/bin/bash echo "show slave status\\G" | HOME=/var/lib/zabbix mysql | grep $1 | awk '{ print $2 }' | head -n 1