The tag has no usage guidance.

learn more… | top users | synonyms

9
votes
2answers
13k views

How to echo output of a top into a text file?

I want to write batch or something, that will write output of top into a file on login. I did top >> output-file but it contains some strange character! can somebody give a simple tutorial ...