日期:2014-05-16  浏览次数:20623 次

Linux grep命令

?

?

ps -aux | grep -v grep | grep hadoop

?

注意 -v 参数

可以用在程序中检测hadoop服务是否启动

?

?

?