#!/bin/sh # # http://www.packetmischief.ca/monitoring-bind9/ db="/tmp/named.stats" if [ -z "$1" ]; then exit fi grep $1= $db | cut -d= -f2