Follow up ... the following might be more on target ...
mysql -u root -p'' -e "show status where variable_name='threads_connected';"> connected.txt;cat connected.txt
Shows:
Variable_name Value
Threads_connected 1
More:
'SoS', Ken
Follow up ... the following might be more on target ...
mysql -u root -p'' -e "show status where variable_name='threads_connected';"> connected.txt;cat connected.txt
Shows:
Variable_name Value
Threads_connected 1
More:
'SoS', Ken