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