Turn from: How to find the zombie process and kill it, you can't kill it. To view the parent process and kill itFind zombie processes with PS and grep commands#ps-A-ostat,ppid,pid,cmd | Grep-e ' ^[zz] 'Command annotations:-A parameter lists all
How to view the ports that the program occupiesOne, view the ports that are occupied by all processesAt the start-run-cmd, enter: Netstat–ano to view all processesSecond, view the program that occupies the specified portWhen you are using Tomcat to
How to view the ports that the program occupies One, view the ports that are occupied by all processesAt the start-run-cmd, enter: Netstat–ano to view all processes Second, view the program that occupies the specified portWhen you are using Tomcat
One, view the ports that are occupied by all processesAt the start-run-cmd, enter: Netstat–ano to view all processesSecond, view the program that occupies the specified portWhen you are using Tomcat to publish a program, you often encounter the port
First: The port is occupied error form as follows 8080 port is occupiedSolution One: Find the PID, according to the PID go to Task Manager process to end the process of consuming 8080 port number1. First press the shortcut key windows+r, enter CMD
How to view the ports that a program occupies
First, see the ports that all processes occupy
At start-run-cmd, enter: Netstat–ano can view all processes
Second, view the program that occupies the specified port
When you are using Tomcat to
Find zombie processes with PS and grep commands#ps-A-ostat,ppid,pid,cmd | Grep-e ' ^[zz] 'Command annotations:-A parameter Lists all processes-O custom output fields We set the Display field to stat (state), PPID (process parent ID), PID (process id)
300567871, with taskkill command1.TASKKILL/IM Process NameExample: Turn tomcat off with the Taskkill/im tomcat7.exe command.2.taskkill/pid[Process Code]-T (end the process)-F (Force end of the process and all child processes)Note: There are two ways
Open cmd1. View all process-occupied portsInput: Netstat–ano (View all processes, find the PID of the corresponding port-occupying program)Directly view the PID of the program that occupies the specified portInput: Netstat-ano|findstr "Specify port
Let's start with the scenario, a service starts the agent on each server, and the user executes the task on the specified machine and returns the results to the Web page. The execution of tasks by the user-defined script, usually also is the shell
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.