'N' lines of Top Command?
Greetings, Gurus!!
I have been searching high and low for this, and have had no luck thus far....is there any way of just returning 'n' number of lines from TOP?
I have a script that calls the TOP command, as well as a couple of other commands, wraps their output to a file, and mails it out. However, lately, the mail hasn't been coming, since the output from TOP has been huge. Is there any way of telling the script to only show the top 'N' number of processes, so that I don't run into this again?
Thanks!
|