[LUNI] CentOS 4.4 and top

Frank Sorenson frank at tuxrocks.com
Fri Nov 24 20:29:54 CST 2006


Branko Kotur wrote:
> I was in the middle of writing an email asking if anyone knew why top was 
> showing only 1 CPU on a Dual Core Opteron 180 when I hit the 1 key 
> accidentally while trying to hit q to quit from top.  This answered my 
> question as it seems to toggle whether or not to show all CPU's or combine 
> them into 1 line.  Apparently I never knew about this (I guess I should read 
> the help screen more often). 
> 
> My question has changed to the following: Is there a way to force top to 
> always display all CPU's?

After you've got it set the way you want, just hit 'W' to save out your 
~/.toprc file.  It'll set some flags in the 'winflags' field(s), and 
it'll use that config in the future too.

Frank


More information about the luni mailing list