CentOS查看Tomcat是否正在运行,执行以下命令:

[root@qfx_centos ~]# ps -ef |grep tomcat

已启动

未启动