how should i parse netstat command?

喜你入骨 提交于 2019-12-08 12:16:09

问题


I only want mysql and status of 3306.

I try these things but couldnt get output which i want.

When I try netstat -anob | findstr 3306 information of mysql is not displayed.

When I try netstat -anob | findstr sql information of port status is not displayed. as in snap shot you can see.

I want whole information of process and port listening.

I try netstat -anob it gives all the information. It means my parsing with finsdstr is wrong, please guide me in this.

来源:https://stackoverflow.com/questions/24114662/how-should-i-parse-netstat-command

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!