zhulin1028
  • ps -ef|grep apache -tomcat 查看进程
  • kill -9 杀死进程
  • ls  看命令
  • ./ startup.sh 启动
  • cd ../logs 查log
  • tail -f catalina.out 看log
  • chmod -R 777 *     chmod  777 *    赋权限
  • unzip 文件.zip  解压
  • ps -ef|grep java  查看Java进程
  • netstat -tlnp |grep 10114    进程端口
  • rm -rf    删除
  • find / -name xxxx    查找包含xxxx的文件
  • tail -f catalina.out |grep Exception   过滤异常日志
  • top 看CPU等指标
       tail -f catalina.out |grep ****   过滤异常日志  ***需要过滤的条件
 
ls 列举命令
如:tail -f dataServer.log
查看进程总数:ps -ef  | wc -l
监控线程数:
ps -eLf | wc -l

启动mq:
./activemq start

分类:

技术点:

相关文章: