[Swift-commit] r7178 - SwiftTutorials/OSDC-2013-10-17/app

wilde at ci.uchicago.edu wilde at ci.uchicago.edu
Thu Oct 17 22:58:38 CDT 2013


Author: wilde
Date: 2013-10-17 22:58:38 -0500 (Thu, 17 Oct 2013)
New Revision: 7178

Modified:
   SwiftTutorials/OSDC-2013-10-17/app/simulate.sh
   SwiftTutorials/OSDC-2013-10-17/app/stats.sh
Log:
Adjust info log for OSDC ubuntu VM compute nodes, to log node IP address.

Modified: SwiftTutorials/OSDC-2013-10-17/app/simulate.sh
===================================================================
--- SwiftTutorials/OSDC-2013-10-17/app/simulate.sh	2013-10-18 03:57:06 UTC (rev 7177)
+++ SwiftTutorials/OSDC-2013-10-17/app/simulate.sh	2013-10-18 03:58:38 UTC (rev 7178)
@@ -18,8 +18,9 @@
 log() {
   printf "\nCalled as: $0: $cmdargs\n\n"
   printf "Start time: "; /bin/date
+  printf "Running as user: "; /usr/bin/id
   printf "Running on node: "; /bin/hostname
-  printf "Running as user: "; /usr/bin/id
+  printf "Node IP address: "; /bin/hostname -I
   printparams
   printf "\nEnvironment:\n\n"
   printenv | sort

Modified: SwiftTutorials/OSDC-2013-10-17/app/stats.sh
===================================================================
--- SwiftTutorials/OSDC-2013-10-17/app/stats.sh	2013-10-18 03:57:06 UTC (rev 7177)
+++ SwiftTutorials/OSDC-2013-10-17/app/stats.sh	2013-10-18 03:58:38 UTC (rev 7178)
@@ -3,8 +3,9 @@
 log() {
   printf "\nCalled as: $0: $cmdargs\n\n"
   printf "Start time: "; /bin/date
+  printf "Running as user: "; /usr/bin/id
   printf "Running on node: "; /bin/hostname
-  printf "Running as user: "; /usr/bin/id
+  printf "Node IP address: "; /bin/hostname -I
   printf "\nEnvironment:\n\n"
   printenv | sort
 }




More information about the Swift-commit mailing list