How do I kill this tomcat process in Terminal?

后端 未结 14 1577
渐次进展
渐次进展 2021-01-30 01:23

Using ps -ef | grep tomcat I found a tomcat server that is running. I tried kill -9 {id} but it returns \"No such process.\" What am I doing wrong?

14条回答
  •  北荒
    北荒 (楼主)
    2021-01-30 02:23

    just type the below command in terminal

    ps -ef |grep 'catalina'
    

    copy the value of process id then type the following command and paste process id

     kill -9 processid
    

提交回复
热议问题