[rhn-users] /usr/bin/top showing false values?

Deks deks at sbcglobal.net
Fri Mar 5 05:44:48 UTC 2004


i disabled it just to see if that's why its causing the system to display 4 cpu.
on the RAM issue disabling HT shows only about 6k used, i don't know how it consumes much with HT enabled, might be it doubles?
 

"White, Shane" <Shane.White at health.wa.gov.au> wrote:
I think you're showing 4 CPUs because of the hyepthreading feature of the Xeons.  We have a Dell server with 2 Xeons that show the same result.   You say in your follow-up email that you have disabled hyperthreading in the BIOS - why?
 
As for the memory use, Linux grabs a lot of RAM even when it's not busy.  It will be available for applications if required.  BTW, if you have 2GB of RAM I believe it's best to have 2-4Gb swap space.
 
Shane

-----Original Message-----
From: Deks [mailto:deks at sbcglobal.net] 
Sent: Friday, 5 March 2004 9:08 AM
To: rhn-users at redhat.com
Subject: [rhn-users] /usr/bin/top showing false values?


Hi Gurus,
 
I just built an ibm x345 with 2GB ram and 2xCPU(xeon) running Linux ES 3.0 with kernel - Linux version 2.4.21-9.0.1.ELsmp. Apps running are httpd(stock), sendmail and bind. 
This is not yet launched on production so basically this machine is idle. I ran /usr/bin/top and it gives me these output (sorry for the display):
 
17:06:24  up 23:26,  2 users,  load average: 0.00, 0.00, 0.00
62 processes: 61 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle
           total    0.0%    0.0%    0.0%   0.0%     0.0%    0.3%   99.5%
           cpu00    0.0%    0.0%    0.0%   0.0%     0.0%    0.0%  100.0%
           cpu01    0.0%    0.0%    0.0%   0.0%     0.0%    0.6%   99.3%
           cpu02    0.0%    0.0%    0.0%   0.0%     0.0%    0.0%  100.0%
           cpu03    0.3%    0.0%    0.0%   0.0%     0.0%    0.6%   99.0%

Mem:  2061644k av, 1821244k used,  240400k free,       0k shrd,  130680k buff
                    832828k actv,  866272k in_d,   24184k in_c
Swap: 1024120k av,       0k used, 1024120k free                 1593520k cached

 
My concern is how come it shows 4 cpu's and the memory used way the total. Does that mean when I go to production this machine will need more memory?
 
Is there some settings/tuning parameter I should be aware of?

Thanks for any info.
 
Deks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20040304/e469fa8c/attachment.htm>


More information about the rhn-users mailing list