-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, 2012-07-10 at 13:22 -0600, Kirk Hoganson wrote: > Does anyone know of a simple way to discover how many zone files bind > has successfully loaded after the daemon starts?
cd /var/log rm -f named.temp* grep 'named' messages | \ csplit --prefix=named.temp - '/named.*starting BIND/' >/dev/null f=$(ls -1 named.temp* | tail -1) grep 'zone.*loaded serial' $f | wc -l rm -f named.temp* -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAk/8ho4ACgkQL6j7milTFsHHRQCdGJGLBpyPQkQYaQh6zxsd7zO1 qMkAnAvd76dFQM48foc6nJSunR3jMFnZ =i2k4 -----END PGP SIGNATURE----- _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users