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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to