Re: [GENERAL] Linux TOP

2009-10-21 Thread Scott Marlowe
On Wed, Oct 21, 2009 at 4:25 PM, Greg Smith wrote: > On Wed, 21 Oct 2009, Scott Marlowe wrote: > >> In this: >> >> Mem:  16432240k total, 16344596k used,    87644k free,    27548k buffers >> Swap: 10241428k total,  3680860k used,  6560568k free,  6230376k cached >> >> The 6.2G cached is considered

Re: [GENERAL] Linux TOP

2009-10-21 Thread Greg Smith
On Wed, 21 Oct 2009, Scott Marlowe wrote: In this: Mem: 16432240k total, 16344596k used,87644k free,27548k buffers Swap: 10241428k total, 3680860k used, 6560568k free, 6230376k cached The 6.2G cached is considered part of the 16G used So it's not using more memory than it has. It

Re: [GENERAL] Linux TOP

2009-10-21 Thread Tom Lane
Scott Marlowe writes: > In this: > Mem: 16432240k total, 16344596k used,87644k free,27548k buffers > Swap: 10241428k total, 3680860k used, 6560568k free, 6230376k cached > The 6.2G cached is considered part of the 16G used > So it's not using more memory than it has. It's just th

Re: [GENERAL] Linux TOP

2009-10-21 Thread Scott Marlowe
On Wed, Oct 21, 2009 at 4:01 PM, Greg Smith wrote: > On Wed, 21 Oct 2009, Waldomiro wrote: > >> top - 16:16:30 up 42 days, 13:23,  4 users,  load average: 3.13, 3.52, >> 3.36 >> Cpu(s):  1.4%us,  1.1%sy,  0.0%ni, 84.4%id, 12.9%wa,  0.0%hi,  0.2%si, >> 0.0%st >> Mem:  16432240k total, 16344596k use

Re: [GENERAL] Linux TOP

2009-10-21 Thread Greg Smith
On Wed, 21 Oct 2009, Waldomiro wrote: top - 16:16:30 up 42 days, 13:23,  4 users,  load average: 3.13, 3.52, 3.36 Cpu(s):  1.4%us,  1.1%sy,  0.0%ni, 84.4%id, 12.9%wa,  0.0%hi,  0.2%si,  0.0%st Mem:  16432240k total, 16344596k used,    87644k free,    27548k buffers Swap: 10241428k total,  368086

Re: [GENERAL] Linux TOP is a indicator?

2009-10-21 Thread Scott Marlowe
As a followup to my previous post, here's what a healthy, well behaved but running under moderate load db server looks like: top - 15:47:51 up 436 days, 2:31, 3 users, load average: 12.03, 11.86, 12.26 Tasks: 394 total, 7 running, 387 sleeping, 0 stopped, 0 zombie Cpu(s): 17.3%us, 1.3%sy

Re: [GENERAL] Linux TOP is a indicator?

2009-10-21 Thread Scott Marlowe
On Wed, Oct 21, 2009 at 12:43 PM, Waldomiro wrote: > Hi, > > I have one of my database server that I run the "top" command: > > top - 16:16:30 up 42 days, 13:23,  4 users,  load average: 3.13, 3.52, 3.36 > Tasks: 624 total,   1 running, 623 sleeping,   0 stopped,   0 zombie > Cpu(s):  1.4%us,  1.1

Re: [GENERAL] Linux TOP is a indicator?

2009-10-21 Thread John R Pierce
Waldomiro wrote: Hi, I have one of my database server that I run the "top" command: top - 16:16:30 up 42 days, 13:23, 4 users, load average: 3.13, 3.52, 3.36 Tasks: 624 total, 1 running, 623 sleeping, 0 stopped, 0 zombie Cpu(s): 1.4%us, 1.1%sy, 0.0%ni, 84.4%id, 12.9%wa, 0.0%hi,

Re: [GENERAL] Linux TOP

2009-10-21 Thread Rich Shepard
On Wed, 21 Oct 2009, Waldomiro wrote: I'm afraid of two things, one is the "load average", I think 3 is too much, another is the "swap", almost 4GB of swap, I think that is too much swap. Am I right? Not necessarily. Can I use those indicators to know if my database is ok? Perhaps.