grep GPTPI up008-8920171010.log |wc grep -c 'GPTPI' up008-8920171010.log 转载于:https://www.cnblogs.com/lj824/p/7650585.html