开发者

Using Top to show output of your Script

开发者 https://www.devze.com 2023-02-08 05:42 出处:网络
In 开发者_开发知识库my previous company, there was an engineer who showed me a demo of using top and it was displaying the output of her script. Unfortunately, I do not have any contacts with her anym

In 开发者_开发知识库my previous company, there was an engineer who showed me a demo of using top and it was displaying the output of her script. Unfortunately, I do not have any contacts with her anymore. But I find it really amazing that top can display the output. It is like doing a tail -f on a log file.

Does anyone know how to do this?


Top has a -b mode which prints out information in a format that looks like tail -f. is that what you were looking for?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号