aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/do-pool-status
diff options
context:
space:
mode:
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