[Groonga-commit] groonga/wikipedia-search at 92c155a [master] Show environment on start

Back to archive index

Kouhei Sutou null+****@clear*****
Fri May 22 21:21:20 JST 2015


Kouhei Sutou	2015-05-22 21:21:20 +0900 (Fri, 22 May 2015)

  New Revision: 92c155a8bb29c85b1736263d2e7afd639d19f80b
  https://github.com/groonga/wikipedia-search/commit/92c155a8bb29c85b1736263d2e7afd639d19f80b

  Message:
    Show environment on start

  Modified files:
    benchmark/centos6/pgroonga.sh

  Modified: benchmark/centos6/pgroonga.sh (+11 -0)
===================================================================
--- benchmark/centos6/pgroonga.sh    2015-05-22 21:04:24 +0900 (dd02a75)
+++ benchmark/centos6/pgroonga.sh    2015-05-22 21:21:20 +0900 (42f84f4)
@@ -23,6 +23,15 @@ run()
   fi
 }
 
+show_environment()
+{
+  echo "CPU:"
+  cat /proc/cpuinfo
+
+  echo "Memory:"
+  free
+}
+
 ensure_data()
 {
   if [ -f "${data_dir}/ja-all-pages.sql" ]; then
@@ -175,6 +184,8 @@ benchmark_search_pg_bigm()
   done
 }
 
+show_environment
+
 ensure_data
 
 setup_postgresql_repository
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index