How windows views processes
This article mainly introduces how to view the process of windows, with certain reference value, interested friends can refer to, I hope you have a lot of gains after reading this article, let Xiaobian take you to understand.
Windows View and End Process Commands
1)View process numbers occupying port 8080
>netstat -aon (this command works with both linux and windows)
>netstat -aon | findstr "8080"
Result: TCP 0.0.0.0:8080 0.0.0.0:0 LISTENING 3500
Process number 3500 occupies port 8080.
You can use the command tasklist| findstr "3500" See more details about the 3500 process.
> tasklist | findstr "3500"
Results: javaw.exe 3500 Console 0 28,792 K
The 3500 process is known as javaw.exe.
2)View the heap occupied by 3500, which can be used to check whether the tomcat configuration takes effect.
>jmap -heap 3500
3) Kill the process
> tskill 3500
Thank you for reading this article carefully. I hope that the article "How to view the progress of windows" shared by Xiaobian will be helpful to everyone. At the same time, I hope that everyone will support you a lot and pay attention to the industry information channel. More relevant knowledge is waiting for you to learn!