Wednesday, September 8, 2010

unix command TOP

top
c #full command line
n ## #disply ## process
s 20 # scan every 20 second

The default scan rate on top is 10 seconds. What this means is that with enough top sessions, and we ALL put them on , top itself starts to interfere with the machine. If you start top then type in “s 20” (only without the double quotes), you can change the scan rate to every 20 seconds. 30 would be even better.

If you type “c”, you should get a wider description of the commands. That will definitely help when every command displays as “oracle”. If this option does not work on some particular machine, please let me know and I will get it fixed.

And finally, if you type “n ##” where ## is some number, you will get that many top processes displayed instead of the default of 10.

No comments:

Post a Comment