[Groonga-commit] groonga/groonga at 8cbadd7 [master] munin: tabify

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 5 23:14:36 JST 2014


Kouhei Sutou	2014-05-05 23:14:36 +0900 (Mon, 05 May 2014)

  New Revision: 8cbadd71efb287cdccd59878693bb563742d3580
  https://github.com/groonga/groonga/commit/8cbadd71efb287cdccd59878693bb563742d3580

  Message:
    munin: tabify

  Modified files:
    data/munin/groonga_cpu_load_
    data/munin/groonga_memory_

  Modified: data/munin/groonga_cpu_load_ (+10 -10)
===================================================================
--- data/munin/groonga_cpu_load_    2014-05-05 11:16:45 +0900 (396099c)
+++ data/munin/groonga_cpu_load_    2014-05-05 23:14:36 +0900 (09a308f)
@@ -6,16 +6,16 @@
 case "$1" in
     autoconf|detect)
 	if [ -z "${pid_file}" ]; then
-            echo "no (PID file isn't specified by env.pid_file)"
+	    echo "no (PID file isn't specified by env.pid_file)"
 	    exit 1
-        elif [ -f "${pid_file}" ]; then
-            echo "yes"
+	elif [ -f "${pid_file}" ]; then
+	    echo "yes"
 	    exit 0
-        else
-            echo "no (PID file doesn't exist: ${pid_file})"
+	else
+	    echo "no (PID file doesn't exist: ${pid_file})"
 	    exit 1
-        fi
-        ;;
+	fi
+	;;
     suggest)
 	echo "gqtp"
 	echo "http"
@@ -27,7 +27,7 @@ case "$1" in
 	else
 	    title="groonga: ${label}: CPU load"
 	fi
-        cat <<EOF
+	cat <<EOF
 graph_title ${title}
 graph_vlabel CPU load (%)
 graph_category groonga
@@ -36,8 +36,8 @@ graph_info groonga CPU load
 cpu_load.label CPU load
 cpu_load.type GAUGE
 EOF
-        exit 0
-        ;;
+	exit 0
+	;;
     *)
 esac
 

  Modified: data/munin/groonga_memory_ (+12 -12)
===================================================================
--- data/munin/groonga_memory_    2014-05-05 11:16:45 +0900 (88fdd65)
+++ data/munin/groonga_memory_    2014-05-05 23:14:36 +0900 (62690ab)
@@ -6,23 +6,23 @@
 case "$1" in
     autoconf|detect)
 	if [ -z "${pid_file}" ]; then
-            echo "no (PID file isn't specified by env.pid_file)"
+	    echo "no (PID file isn't specified by env.pid_file)"
 	    exit 1
-        elif [ -f "${pid_file}" ]; then
-            echo "yes"
-            exit 0
-        else
-            echo "no (PID file doesn't exist: ${pid_file})"
-            exit 1
-        fi
-        ;;
+	elif [ -f "${pid_file}" ]; then
+	    echo "yes"
+	    exit 0
+	else
+	    echo "no (PID file doesn't exist: ${pid_file})"
+	    exit 1
+	fi
+	;;
     config)
 	if [ -z "${label}" ]; then
 	    title="groonga: memory usage"
 	else
 	    title="groonga: ${label}: memory usage"
 	fi
-        cat <<EOF
+	cat <<EOF
 graph_title ${title}
 graph_vlabel memory usage
 graph_category groonga
@@ -33,8 +33,8 @@ rss.type GAUGE
 vsz.label virtual memory size
 vsz.type GAUGE
 EOF
-        exit 0
-        ;;
+	exit 0
+	;;
     suggest)
 	echo "gqtp"
 	echo "http"
-------------- next part --------------
HTML����������������������������...
Descargar 



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