]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- don't show all PIDs (clutters screen on machines with large number of
authorhawk <hawk@pld-linux.org>
Wed, 5 Jul 2006 09:58:17 +0000 (09:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  clusters), show just parent PID in status line for running clusters

Changed files:
    mysql.init -> 1.96

mysql.init

index 989fb70833f25a22e599cb097460046f44e17c1d..7fa3550c30bf3c0f15074fab95756c36fe98d4ac 100644 (file)
@@ -857,13 +857,13 @@ case "$action" in
        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
This page took 0.044945 seconds and 4 git commands to generate.