- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Reading "top" in RH 8
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
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
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
07-10-2003 11:13 AM
07-10-2003 11:13 AM
Also, the sum of the percentage of processor usage does not add up. For example I have a process that says it's using 99.9% of cpu, another using 22.1%, another using 19.5%. How do I make sense of this when it obviously doesn't add up to 100%
#2) The amount of memory used does not add up either. It says that there is constantly about 950M of 1000M of mem being used. But when looking at mem usage for all processes it only adds up to 500 - 600M at most.
Any ideas??
Thanks...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 11:19 AM
07-10-2003 11:19 AM
Re: Reading "top" in RH 8
am confused. u have a two processor machine and top shows four processor. how did linux add two processor by itself.
can you paste the output of /proc/cpuinfo. also, can u paste the initial header of the command top where it dispalys these info.
and regarding mem, can u pls provide more info. i dont understand.
hth
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 11:39 AM
07-10-2003 11:39 AM
SolutionOn processor usage: if you have multiple processors in a system you can have N*100% processor utilization. In a system with 4 processors you could have 4 different processes that each take up 100% of 1 cpu for a total of 400% processor utilization.
On memory usage: The memory used will show that pretty much all of your memory is used at any given time, but some of that memory is probably not being used for applications that are running. The portion of memory that is not required for any currently running processes is used as a buffer cache.
--
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 11:52 AM
07-10-2003 11:52 AM
Re: Reading "top" in RH 8
That cleared a few things up.
So on my system with 2 processors but displaying 4 processors, would I have 200% or 400% available?
If the answer to the above is 200%, how would I read the 4 different percentage stats?
Thanks...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 12:26 PM
07-10-2003 12:26 PM
Re: Reading "top" in RH 8
Since you "see" 4 CPUs, I would assume that you would have the potential of seeing 4 processes in top, each using 100% cpu, for a total of 400% utilization.
Someone correct me if I'm wrong...
--
Tony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 01:36 PM
07-10-2003 01:36 PM
Re: Reading "top" in RH 8
That sounds right. I have several IBM boxes with the dual Xeon processors and my top shows up the same way. Here is part of the screen shot from 'top' on one of them:
5:21pm up 8 days, 7:43, 2 users, load average: 1.69, 0.37, 0.12
80 processes: 79 sleeping, 1 running, 0 zombie, 0 stopped
CPU0 states: 0.0% user, 0.2% system, 0.0% nice, 99.3% idle
CPU1 states: 0.5% user, 2.2% system, 0.0% nice, 96.2% idle
CPU2 states: 1.0% user, 3.3% system, 0.0% nice, 95.0% idle
CPU3 states: 1.1% user, 2.3% system, 0.0% nice, 95.4% idle
Mem: 8230824K av, 8208304K used, 22520K free, 0K shrd, 213816K buff
Swap: 3121256K av, 0K used, 3121256K free 1542372K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
1839 root 15 0 624 624 488 D 2.3 0.0 0:00 find
1842 root 15 0 620 620 488 D 1.7 0.0 0:00 find
1845 root 15 0 620 620 488 D 1.7 0.0 0:00 find
1840 root 15 0 620 620 488 D 1.5 0.0 0:00 find
1838 root 15 0 620 620 488 D 1.3 0.0 0:00 find
1841 root 15 0 620 620 488 D 1.1 0.0 0:00 find
1843 root 15 0 620 620 488 D 0.9 0.0 0:00 find
1844 root 15 0 620 620 488 D 0.9 0.0 0:00 find
I ran eight 'find' processes at a time and it barely made each of the CPUs break a sweat. If you can think of something that will exercise it harder I'll give it a try just to see what happens. I love this stuff!
As for the memory, you might be using some in shared memory? We are playing with Oracle 9.2 on it and the newer version of Oracle uses shared memory differently than what it used to. We've set aside about 5 Gb for the SGA, but when our DBA fires up Oracle it only uses around 350 Mb. He read that Oracle reserves what you give it for shared memory but only actually uses it as it is needed. So from my 'top' you see 8 Gb of RAM that is almost all used, but Oracle is really only grabbing a small part of it.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 02:09 PM
07-10-2003 02:09 PM
Re: Reading "top" in RH 8
I think I have a better grasp on this now.
John, we are hosting a few online games,
Jedi Knight 2.
These seem to put a pretty nice dent in the resources if you're looking for something to test your systems.
Thanks again...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 02:14 PM
07-10-2003 02:14 PM
Re: Reading "top" in RH 8
Running a kernel build with something like "make -j 12" should put a pretty good CPU load on it. :)
--
Tony