From eef0be0886923e15cf8a54406fc6245cc50c514c Mon Sep 17 00:00:00 2001 From: Matt Rude Date: Fri, 20 May 2011 16:21:16 -0500 Subject: Adding pool status script --- scripts/do-pool-status | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 scripts/do-pool-status (limited to 'scripts/do-pool-status') diff --git a/scripts/do-pool-status b/scripts/do-pool-status new file mode 100755 index 0000000..a217357 --- /dev/null +++ b/scripts/do-pool-status @@ -0,0 +1,3 @@ +#!/bin/bash + +echo "Kirby:" > /var/www/time.mattrude.com/logs/pool_status.txt && ntpq -p >> /var/www/time.mattrude.com/logs/pool_status.txt && echo "" >> /var/www/time.mattrude.com/logs/pool_status.txt && echo "Twyla:" >>/var/www/time.mattrude.com/logs/pool_status.txt && ssh twyla ntpq -p >> /var/www/time.mattrude.com/logs/pool_status.txt -- cgit v1.2.3-59-ga6da