你的位置:首页 > 软件开发 > 操作系统 > top:failed tty get 错误

top:failed tty get 错误

发布时间:2016-05-13 22:00:09
运行命令,ps -ef | grep test | grep -v test | awk { print $2 } | xargs top -H -p想看test的实时状态,结果报了错,查了一下,用脚本在非交互模式下调用top就会出这个错,加上一个 -b,切换到&ld ...

运行命令,ps -ef | grep test | grep -v test | awk '{ print $2 }' | xargs top -H -p

想看test的实时状态,结果报了错,查了一下,用脚本在非交互模式下调用top就会出这个错,加上一个 -b,切换到“Batch mode”模式即可解决。

ps -ef | grep test | grep -v test | awk '{ print $2 }' | xargs top -b -H -p


原标题:top:failed tty get 错误

关键词:get

get
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录