码迷,mamicode.com
首页 > Windows程序 > 详细

windows 监控

时间:2018-02-02 11:38:55      阅读:286      评论:0      收藏:0      [点我收藏+]

标签:tcpip   stat   tcp连接   win   erp   状态   tps   释放   param   

 

监控time_wait状态tcp/ip连接

> netsatat -an | findstr "TIME_WAIT"

如果监控此值发现量比较大,且有类似socketException异常,tps不稳定。原因可能是请求多,tcp连接释放慢导致连接不够用。解决方法是减少连接释放时间。修改注册表中/tcpip/Parameters中,TcpTimedWaitDelay值、maxuserPort表示最大的连接数。

 

查看1099端口是否被占用

> netstat -ano | findstr "1099"
> tasklist | findstr "1099"

 

windows 监控

标签:tcpip   stat   tcp连接   win   erp   状态   tps   释放   param   

原文地址:https://www.cnblogs.com/kongzhongqijing/p/7204416.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!