netstat -aon|findstr "TCP"|findstr "LISTENING"|findstr ":135[^0123456789]"
netstat -aon|findstr "UDP"|findstr ":5353[^0123456789]"
最后面的数字为PID
接下来只要在tasklist里找PID一样的程序就行了
tasklist|findstr
lsof -i -P -n|grep -v ESTABLISHED
原文:https://www.cnblogs.com/DragonStart/p/9810029.html