zabbix通过自动发现tomcat应用端口监控连接数

192.168.10.98上

netstat -anp | wc -l

netstat -anp|grep 8094 | grep ESTABLISHED | wc -l

netstat -anp|grep 8094 | wc -l

192.168.10.99或者101上

netstat -anp|grep 3306 | wc -l

netstat -anp|grep 192.168.10.99 | wc -l

posted @ 2017-12-23 21:29  Agoly  阅读(1219)  评论(0编辑  收藏  举报