1、是用netstat 查看占用8080端口的进程的Id
已知端口号查找进程名
>netstat -aon|findstr "8080"
TCP 192.168.6.107:62010 192.168.6.132:8080 ESTABLISHED 6848
[color=red]说明:[/color]
结合findstr使用可以在netstat列出的结果中查找包含指定字符的结果集。
2、查看指定进程PID的程序名称,如下
>tasklist|findstr 6848
devenv.exe 6848 Console 1 218,068 K
3、杀死指定的进程使用
tskill pid
参考:[url]http://www.blogjava.net/relax/archive/2008/03/20/187482.html[/url]
[url]http://corbajava.spaces.live.com/blog/cns!55DD064C3A399952!220.entry[/url]
已知端口号查找进程名
>netstat -aon|findstr "8080"
TCP 192.168.6.107:62010 192.168.6.132:8080 ESTABLISHED 6848
[color=red]说明:[/color]
结合findstr使用可以在netstat列出的结果中查找包含指定字符的结果集。
2、查看指定进程PID的程序名称,如下
>tasklist|findstr 6848
devenv.exe 6848 Console 1 218,068 K
3、杀死指定的进程使用
tskill pid
参考:[url]http://www.blogjava.net/relax/archive/2008/03/20/187482.html[/url]
[url]http://corbajava.spaces.live.com/blog/cns!55DD064C3A399952!220.entry[/url]