top ‐d.09
. keep sorted column highlighting Off so as to
minimize path length
. turn On reverse row highlighting for emphasis
. try various sort columns (TIME/MEM work well),
and normal or reverse sorts to bring the most
active processes into view
What you’ll see is a very busy Linux doing what he’s always done for you, but there was no program available to illustrate this.
• Under an xterm using ‘white‐on‐black’ colors, on top’s Color Mapping screen set the task color to black and be sure that task highlighting is set to bold, not reverse. Then set the delay interval to around .3
seconds.
After bringing the most active processes into view, what you’ll see are the ghostly images of just the currently running tasks.
• Delete the existing rcfile, or create a new symlink. Start this new version then type ‘T’ (a secret key, see topic 4c. Task Area Commands, SORTING) followed by ‘W’ and ‘q’. Finally, restart the program with -d0
(zero delay).
Your display will be refreshed at three times the rate of the former top, a 300% speed advantage. As top climbs the TIME ladder, be as patient as you can while speculating on whether or not top will ever reach the
top.
7b. Bouncing Windows
For these stupid tricks, top needs alternate-display mode.
• With 3 or 4 task displays visible, pick any window other than the last and turn idle processes Off using the ‘i’ command toggle. Depending on where you applied ‘i’, sometimes several task displays are bouncing and
sometimes it’s like an accordion, as top tries his best to allocate space.
• Set each window’s summary lines differently: one with no memory (‘m’); another with no states (‘t’); maybe one with nothing at all, just the message line. Then hold down ‘a’ or ‘w’ and watch a variation on
bouncing windows -- hopping windows.