在CentOS中,可以使用以下命令來查看和終止運行中的進程:
ps aux
ps aux | grep <進程名>
<pid>
kill <pid>
如果無法通過kill命令終止進程,可以使用kill -9 <pid>來強制終止進程。
kill
kill -9 <pid>