Top

From TekPedia

Jump to: navigation, search

The top program is a useful real-time display of memory and CPU utilization by all processes. On some terminals, notably a Cygwin console (but not, in my experience, an xterm), it double-spaces the output, causing the summary lines at the top to appear only randomly, and makes it generally useless. One way to fix this is:

stty cols 79

This tells top that there are only 79 columns available, so it won't pad out to 80 spaces and force the extra newline.

Personal tools