1

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?

animuson
  • 53,861
  • 28
  • 137
  • 147
Carmen
  • 2,833
  • 4
  • 23
  • 23

1 Answers1

4

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

Foo Bah
  • 25,660
  • 5
  • 55
  • 79