windows下
1.netstat -aon|findstr 8001 查看最后一列pid
2.tasklist|findstr pid
杀掉
任务管理器杀掉进程
linux下
1.netstat –apn | grep 8001 查看最后一列pid/进程名
2.ps -aux|grep 进程名
或
ps -aux|grep pid
kill -9 pid
posted on 2015-01-30 17:13 烂记性需要烂笔头 阅读(130) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3