windows下命令查看进程的全路径
查看端口得到PIDnetstat -nao | findstr 3306TCP127.0.0.1:33060.0.0.0:0LISTENING3876(PID)根据PID查看进程对应的程序名称tasklist /V | findstr 3876mysqld.exe3876...
·
- 查看端口得到PID
netstat -nao | findstr 3306
TCP 127.0.0.1:3306 0.0.0.0:0 LISTENING 3876(PID)
- 根据PID查看进程对应的程序名称
tasklist /V | findstr 3876
mysqld.exe 3876 Services...
或者
wmic process list brief | findstr 3876
- 得到程序全路径名
wmic process where processid=3876 get processid,executablepath,name
- 杀进程
taskkill /PID 3876 /F
或者
ntsd -c q -p 3876
或者
wmic process where name="mysqld.exe" delete
wmic process where processid=3876 call terminate
更多推荐
所有评论(0)