1. View all running java services
ps -ef |grep java 或 ps -aux |grep java
2. Query the port and more information according to the process ID (obtained in the previous step)
netstat -anop | grep 11312
3. View all ports occupied by Linux
netstat -tupln
-
Personal open source project (universal background management system) –> https://gitee.com/wslxm/spring-boot-plus2 , you can check it out if you like
-
At this end, if you find it useful, please use your little hand to like or pay attention to it, and we will continue to update more content from time to time... Thank you for watching!
tail -f file name view log
nginx -s reload refresh nginx configuration