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