- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Top on RHEL3 vs RHEL4
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2007 03:14 AM
тАО02-05-2007 03:14 AM
When I run TOP on a RHEL3 server with 8 cpu's, the output shows cpu0-7, and %age used. On RHEL4, same class server, it does not show individual cpu information. Is this by design? Any help would be greatly appreciated.
thx.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2007 04:58 AM
тАО02-05-2007 04:58 AM
SolutionThere have been fixes to top, so you will need to tell us whether you are on RH 4 update 4 or some earlier release.
top was changed for RH4 and has had a bug fix or two.
Note that the same class of server may also not be the same.
Lets say you have a pair of DL380's with maximum CPU's installed.
A server purchased in early 2005 will show up as two cpu's because it doesn't have hyperthreading capability nor does it have dual core cpus.
The same server purchased a year later in the summer of 2006 with maximum cpu's is going to show 8 cpus, because it does have hyperthreading, which creates two software cpu's for each hardware cpu and dual core, which gives it 4 hard cpu's and 8 cpu's on th e RH 4 update 4 top display.
So before you shoot at top, which may be the problem here, make sure you are comparing apples to apples.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2007 05:11 AM
тАО02-05-2007 05:11 AM
Re: Top on RHEL3 vs RHEL4
Furthermore, how do I know if the cpus in /proc/cpuinfo physical or dual core cpu's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2007 05:20 AM
тАО02-05-2007 05:20 AM
Re: Top on RHEL3 vs RHEL4
Well now you have narrowed it down.
I agree based on the new information you should be seeing more than 1 cpu in top.
Okay here we go.
top from RH 4 update 3 machine with 1 CPU with hypertreading enabled and the smp kernel.
top - 12:18:03 up 26 days, 20:45, 1 user, load average: 0.30, 0.11, 0.08
Tasks: 123 total, 1 running, 122 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0% us, 0.2% sy, 0.0% ni, 99.8% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 1033204k total, 355704k used, 677500k free, 24444k buffers
Swap: 1048568k total, 70188k used, 978380k free, 68896k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1 root 16 0 2560 488 456 S 0.0 0.0 0:02.53 init
2 root RT 0 0 0 0 S 0.0 0.0 0:46.90 migration/0
3 root 34 19 0 0 0 S 0.0 0.0 0:02.44 ksoftirqd/0
4 root RT 0 0 0 0 S 0.0 0.0 0:47.70 migration/1
5 root 34 19 0 0 0 S 0.0 0.0 0:02.37 ksoftirqd/1
6 root 5 -10 0 0 0 S 0.0 0.0 0:00.14 events/0
7 root 5 -10 0 0 0 S 0.0 0.0 0:00.14 events/1
8 root 5 -10 0 0 0 S 0.0 0.0 0:00.00 khelper
9 root 14 -10 0 0 0 S 0.0 0.0 0:00.00 kacpid
35 root 5 -10 0 0 0 S 0.0 0.0 0:00.04 kblockd/0
36 root 5 -10 0 0 0 S 0.0 0.0 0:00.04 kblockd/1
37 root 15 0 0 0 0 S 0.0 0.0 0:00.55 khubd
46 root 15 0 0 0 0 S 0.0 0.0 0:52.13 pdflush
47 root 15 0 0 0 0 S 0.0 0.0 2:39.51 pdflush
49 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 aio/0
50 root 6 -10 0 0 0 S 0.0 0.0 0:00.00 aio/1
48 root 15 0 0 0 0 S 0.0 0.0 5:30.53 kswapd0
Linux shalom2 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:54:53 EST 2006 i686 i686 i386 GNU/Linux
The same system with RH 3 update8 shows two CPU's.
The GUI system monitor display shows two cpus.
Talk about consistecy.
Its top. You had it right from the get go.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2007 05:45 AM
тАО02-05-2007 05:45 AM
Re: Top on RHEL3 vs RHEL4
Sholom... you know where I can find this bug documented as well as resolution? '
Regards, Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-05-2007 01:44 PM
тАО02-05-2007 01:44 PM
Re: Top on RHEL3 vs RHEL4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-06-2007 12:21 AM
тАО02-06-2007 12:21 AM