Path : /proc/2/cwd/proc/2/cwd/proc/2/cwd/proc/2/root/var/lib/zabbix/ |
Current File : //proc/2/cwd/proc/2/cwd/proc/2/cwd/proc/2/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