查找指定内容的日志:
cat xxx.php | grep '查找内容' | less
统计数量 :
cat xxx.php | grep '查找内容' | wc -l
查找指定进程并杀死
ps -ef | grep php | grep -v | awk '{print $2}' | xargs kill -9
查找指定内容的日志:
cat xxx.php | grep '查找内容' | less
统计数量 :
cat xxx.php | grep '查找内容' | wc -l
查找指定进程并杀死
ps -ef | grep php | grep -v | awk '{print $2}' | xargs kill -9