
1.有关进程:
ps -ef|grep java|grep -v grep --查看进程 已经进程号
kill -9 进程号 --杀死进程
2.有关文件:
grep -rn 'config*' --查找当前目录下包含config*'字符串的文件
grep -Rn "data_chushou_pay_info" *.py --查找当前目录下后缀名过滤的文件
grep -Rn "data_chushou_pay_info" /home/hadoop/nisj/automationDemand/ *.py --当前目录及设定子目录下的符合条件的文件
3.有关Tomcat
(logs目录下 *** 作)
tail -f catalina.out --查看日志
tail -f -n 行数 catalina.out --查看当前输出日志打印多少行
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)