Index: /trunk/tools/eam/neb-apache-check.20241219/check.neb.performance.sh
===================================================================
--- /trunk/tools/eam/neb-apache-check.20241219/check.neb.performance.sh	(revision 42909)
+++ /trunk/tools/eam/neb-apache-check.20241219/check.neb.performance.sh	(revision 42909)
@@ -0,0 +1,27 @@
+#!/bin/csh
+
+set query = "SELECT variable_name, variable_value from information_schema.GLOBAL_STATUS where variable_name = 'COM_COMMIT' or variable_name = 'COM_ROLLBACK'"
+
+set output = mysql.connections.txt
+
+# move the current output file to the next slot
+if (-e $output) then
+  set Nout = 0
+  while (1)
+    if (-e $output.v$Nout) then
+      @ Nout++
+      continue
+    endif
+    break
+  end
+  mv $output $output.v$Nout
+endif
+
+while (1)
+  set Nquery = `mysql -h ippdb11 -u ipp -pipp nebulous -e "$query" | grep COM | prsum 2`
+
+  set now = `date +"%Y/%m/%d %H:%M:%S.%N"`
+  echo "$now $Nquery" >> $output
+
+  sleep 5
+end
