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