aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/do-pool-status
diff options
context:
space:
mode:
authorMatt Rude <[email protected]>2011-05-20 16:21:16 -0500
committerMatt Rude <[email protected]>2011-05-20 16:21:16 -0500
commiteef0be0886923e15cf8a54406fc6245cc50c514c (patch)
treed81829c8d94efb091a26b022b0b9079572ed8bff /scripts/do-pool-status
parent6c5736ab7731ffd613bd1434d19676e32f3441d3 (diff)
downloadtime.mattrude.com-eef0be0886923e15cf8a54406fc6245cc50c514c.tar.gz
time.mattrude.com-eef0be0886923e15cf8a54406fc6245cc50c514c.tar.bz2
time.mattrude.com-eef0be0886923e15cf8a54406fc6245cc50c514c.zip
Adding pool status script
Diffstat (limited to 'scripts/do-pool-status')
-rwxr-xr-xscripts/do-pool-status3
1 files changed, 3 insertions, 0 deletions
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