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?

1
  • please clarify what you are looking for Commented Feb 7, 2011 at 15:51

1 Answer 1

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?

Sign up to request clarification or add additional context in comments.

2 Comments

Cool, never seen -b before :)
Sometimes i need to log the output of top

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.