#! /bin/sh echo 0 mysqladmin --defaults-file=/etc/mysql/mrtg.cnf status | sed -e 's/^.*Threads: \([0-9]*\) .*$/\1/' uptime hostname