Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

If I have a quad core server, should top's load average show four values?

Options
  • 23-10-2008 9:22pm
    #1
    Closed Accounts Posts: 12,382 ✭✭✭✭


    Hello

    I hope someone can help me with this.

    I have a quad core server. The first five lines of 'top' looks like this -

    [PHP]
    top - 21:21:02 up 169 days, 9:22, 4 users, load average: 0.20, 0.38, 0.41
    Tasks: 127 total, 1 running, 126 sleeping, 0 stopped, 0 zombie
    Cpu(s): 0.0% us, 0.1% sy, 0.0% ni, 99.3% id, 0.6% wa, 0.0% hi, 0.0% si
    Mem: 2074696k total, 1944636k used, 130060k free, 404968k buffers
    Swap: 2040212k total, 45640k used, 1994572k free, 948364k cached
    [/PHP]

    The load average on the first line only shows three values. Should it show four?

    Any help appreciated.

    Thanks!


Comments

  • Registered Users Posts: 7,163 ✭✭✭10-10-20


    No, that's correct.

    "The three load-average values in the first line of top output are the 1-minute, 5-minute and 15-minute average"
    http://www.linuxjournal.com/article/9001


  • Closed Accounts Posts: 12,382 ✭✭✭✭AARRRGH


    Nice one. Cheers!


  • Registered Users Posts: 7,163 ✭✭✭10-10-20


    Hmmm - 2Gb's memory & quad-core?
    You're bottlenecking at the memory.

    I'd flog two cores and double the memory! :)


  • Closed Accounts Posts: 12,382 ✭✭✭✭AARRRGH


    That's not a bad idea. I will look into it. (Doubling the memory, not losing two cores!)

    Cheers!


  • Registered Users Posts: 3,744 ✭✭✭deRanged


    you can always tell top to show the individual loads on each processor by typing the character '1' as it's running.


  • Advertisement
  • Closed Accounts Posts: 2,161 ✭✭✭steve-hosting36


    exacty, which will then show all cores...


Advertisement