$ mysql -uroot -e 'show status' | grep -E 'Max|Threads' Max_used_connections 12 Threads_cached 0 Threads_connected 1 Threads_created 13280 Threads_running 1
The maximum number of connections that have been in use simultaneously since the server started.
The number of threads in the thread cache.
The number of currently open connections.
The number of threads created to handle connections. If Threads_created is big, you may want to increase the thread_cache_size value. The cache miss rate can be calculated as Threads_created/Connections.
The number of threads that are not sleeping.