日期:2014-05-16  浏览次数:20627 次

CMD常用命令(linux对照)

------------------------查杀 端口占用-----------------------------------

netstat? -aon|findstr? 8080
? TCP??? 0.0.0.0:8080?????????? 0.0.0.0:0????????????? LISTENING?????? 424


tasklist|findstr 424
javaw.exe??????????????????? 424 Console???????????????? 0??? 110,424 K


taskkill /im javaw.exe /f

?

----------linus下--------------------------

ps -ef|grep java

1234

kill -9? 1234

----------linus下--------------------------

------------------------查杀 端口占用-----------------------------------

?