SOURCES: mysql.init - don't show all PIDs (clutters screen on mach...
hawk
hawk at pld-linux.org
Wed Jul 5 11:58:22 CEST 2006
Author: hawk Date: Wed Jul 5 09:58:22 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- don't show all PIDs (clutters screen on machines with large number of
clusters), show just parent PID in status line for running clusters
---- Files affected:
SOURCES:
mysql.init (1.95 -> 1.96)
---- Diffs:
================================================================
Index: SOURCES/mysql.init
diff -u SOURCES/mysql.init:1.95 SOURCES/mysql.init:1.96
--- SOURCES/mysql.init:1.95 Mon May 29 11:44:28 2006
+++ SOURCES/mysql.init Wed Jul 5 11:58:17 2006
@@ -857,13 +857,13 @@
mysqlsubsys
;;
status)
- status mysqld
for mysqldir in $DB_CLUSTERS; do
mysqlstatus "$mysqldir"
- show "MySQL cluster %s" "$mysqldir"
if [ "$MYSQL_STATUS" = "running" ]; then
+ show "MySQL cluster %s, PID %s" "$mysqldir" "$MYSQL_PID"
progress "$MYSQL_STATUS"
else
+ show "MySQL cluster %s" "$mysqldir"
progress "$MYSQL_STATUS" "$CFAIL"
fi
echo
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mysql.init?r1=1.95&r2=1.96&f=u
More information about the pld-cvs-commit
mailing list