The Linux operating system consider everything as file. So first of all, use lsof (List of Open Files) Linux command to identify the process id (PID) of running process on any port. The you can use kill command to kill that process using the PID. Kill Process on Port For example, you need to...
Problem: During the start of service hung on starting position as you can see below image. Waited some time but service was in the same state. None of the options were highlighted to stop/start/restart service. Now the only option available to forcefully kill this service by the process id on the Windows system. Below...
Command Syntax: pkill <process name> Examples: For example to kill all processes running with name java, use the following command. sudo pkill java To kill all processes running with name httpd use the following command. sudo pkill httpd