From: hawk Date: Wed, 5 Jul 2006 09:58:17 +0000 (+0000) Subject: - don't show all PIDs (clutters screen on machines with large number of X-Git-Tag: auto/th/mysql-5_0_22-2~2 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=27698ac13c60a8018f74439e5e28e04c0e93dda4;p=packages%2Fmysql.git - don't show all PIDs (clutters screen on machines with large number of clusters), show just parent PID in status line for running clusters Changed files: mysql.init -> 1.96 --- diff --git a/mysql.init b/mysql.init index 989fb70..7fa3550 100644 --- a/mysql.init +++ b/mysql.init @@ -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