CentOS查看Tomcat是否正在运行,可以执行以下命令: [root@qfx_centos ~]# ps -ef |grep tomcat 输出如下信息说明tomcat正在运行: 输出如下信息说明未启动: