Kill a Process
Unix
> ps -ef | grep java
> kill -9 PID
Windows
> netstat -ano | findstr 8100
TCP 0.0.0.0:8100 0.0.0.0:0 LISTENING 8732
TCP [::]:8100 [::]:0 LISTENING 8732
> taskkill /PID 8732 /F
SUCCESS: The process with PID 8732 has been terminated.
> ps -ef | grep java
> kill -9 PID
Windows
> netstat -ano | findstr 8100
TCP 0.0.0.0:8100 0.0.0.0:0 LISTENING 8732
TCP [::]:8100 [::]:0 LISTENING 8732
> taskkill /PID 8732 /F
SUCCESS: The process with PID 8732 has been terminated.
Comments