我正在尝试编写一个命令行,该命令行使用netstat和grep来计数处于“已建立”状态的所有连接,并输出一个数字,表示当前向服务器开放的连接数量。netstat -an | grep ':portno'| grep ESTABLISHED| >> HOW DO I OUTPUT A SINGLE NUMBER?<<
10:01:04 PM [mysql] Error: MySQL shutdown unexpectedly.10:01:04 PM [mysql] improper privileges, a crash, or a shutdown by another method.
10:01:04 PM [mysql] Press the Logs button to view error logs and ch