[Swift-commit] r7647 - SwiftApps/cloud

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Fri Mar 7 19:12:24 CST 2014


Author: ketan
Date: 2014-03-07 19:12:24 -0600 (Fri, 07 Mar 2014)
New Revision: 7647

Modified:
   SwiftApps/cloud/monitor
Log:
cloud and swift monitor

Modified: SwiftApps/cloud/monitor
===================================================================
--- SwiftApps/cloud/monitor	2014-03-08 00:53:34 UTC (rev 7646)
+++ SwiftApps/cloud/monitor	2014-03-08 01:12:24 UTC (rev 7647)
@@ -5,9 +5,17 @@
 # Import settings
 
 swift_monitor() {
-    
+
+    echo "=================="
 }
 
 cloud_monitor() {
+    echo "=================="
+    echo "Running instances"
+    echo "=================="
+    ec2din | grep running | awk '{print $2, $3, $15}'
+    echo "=================="
 }
 
+cloud_monitor
+




More information about the Swift-commit mailing list