手順

MySQLにログイン済みなら

mysql> SHOW STATUS LIKE 'Threads%';
+-------------------+--------+
| Variable_name     | Value  |
+-------------------+--------+
| Threads_cached    | 0      |
| Threads_connected | *      | < ここ
| Threads_created   | *      |
| Threads_running   | *      |
+-------------------+--------+

MySQLにログインしていないなら

$ mysqladmin -uroot -p extended-status | grep Threads
| Threads_cached                    | 0         |
| Threads_connected                 | *         | < ここ
| Threads_created                   | *         |
| Threads_running                   | *         |

参考

Last-modified: 2013-08-17 (土) 18:07:15 (2227d)