linux top命令的一个小疑问

在学习top命令的时候有一个-b选项

top -b

文档上显示的是”批处理“操作,一般和-n一起使用,但是我不大理解这个”批处理“操作是啥意思?

阅读 1.7k
2 个回答

man top:

-b :Batch-mode operation
Starts top in Batch mode, which could be useful for sending output from top to other programs or to a file. In this mode, top will not accept input and runs until the iterations limit you've set with the -n command-line option or until killed.
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题