Computing.Net > Forums > Linux > TOP does not show second CPU

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

TOP does not show second CPU

Reply to Message Icon

Name: johnnycat
Date: January 8, 2006 at 13:28:08 Pacific
OS: Redhat ES4
CPU/Ram: p4/2gb
Comment:

Hi,
I have dual p4 system with Redhat Enterpise server 4.0. However if i use "top" and it does only show cpus % utilization but it would not show cpu0 and cpu1 utilization. I check man page. It mentioned "1" as toggle for CPU states but I can't get to work. If you do know right syntax then please let me know. I will be appreciated your feedback.

Thank you in advance,

Johnny Chow



Sponsored Link
Ads by Google

Response Number 1
Name: Zenith
Date: January 9, 2006 at 09:10:55 Pacific
Reply:

http://www.die.net/doc/linux/man/man1/top.1.html
- Talks about using "W" to create a default config file. Maybe you can create one and edit it.

5b. PERSONAL Configuration File
This file is written as '$HOME/.your-name-4-top' + 'rc'. Use the 'W' interactive command to create it or update it.
Here is the general layout: global # line 1: the program name/alias notation " # line 2: id,altscr,irixps,delay,curwin per ea # line a: winname,fieldscur window # line b: winflags,sortindx,maxtasks " # line c: summclr,msgsclr,headclr,taskclr

If the $HOME variable is not present, top will try to write the personal configuration file to the current directory, subject to permissions


WILL POST FOR FOOD.



0

Response Number 2
Name: johnnycat
Date: January 10, 2006 at 15:44:47 Pacific
Reply:

Thank you, execute "top" and press "1" then it will show multip cpu states.

Thank you in advance,


0

Response Number 3
Name: 3Dave
Date: January 11, 2006 at 05:08:20 Pacific
Reply:

FYI after executing top and pressing 1, do as Zenith says and press W (NB that's an upper case W) to write the config file to your home directory, then in future it will always show multiple CPUs on starting top without the need to press 1.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: TOP does not show second CPU

Re: CD-ROM not showing contents www.computing.net/answers/linux/re-cdrom-not-showing-contents/28110.html

lilo does not load www.computing.net/answers/linux/lilo-does-not-load/1098.html

Mandrake starts... KDE does not... www.computing.net/answers/linux/mandrake-starts-kde-does-not/6506.html