Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

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

  • 23-10-2008 09: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, Registered Users 2, Paid Member Posts: 9,478 ✭✭✭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, Registered Users 2, Paid Member Posts: 9,478 ✭✭✭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, Registered Users 2 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