The command used to find the process id of any process is
ps -ef | grep (followed by process name)
like if you want to kill apache server running on system
command would be
ps -ef | grep apache
or
ps -ef | grep apache2
this will list the processes with process name apache.
Once the process id is found use the kill command to terminate the process.
ps -ef | grep (followed by process name)
like if you want to kill apache server running on system
command would be
ps -ef | grep apache
or
ps -ef | grep apache2
this will list the processes with process name apache.
Once the process id is found use the kill command to terminate the process.
Comments
Post a Comment