"Top" Gun
Ok. So here's a question. In the output of "top", when you're looking at the CPU0 and CPU1 states (privided you have an SMP system) it lists statistics like this:
CPU states: 0.7% user, 0.0% system, 0.0% nice, 3.1% idle
My question is, what exactly is being measured under "system"? The man pages say that it's the percentage of CPU time in "system mode". What exactly does that mean?
The reason I ask is that I have a pair of servers with identical hardware and identical Redhat operating systems. There are a few software differences most notably different versions of PostGres and different versions of the in-house software. What I've noticed, however, is that one of them is nearly three times slower than the other when performing tasks. This same machine also shows about a three-fold increase in this "System" percentage statistic when measured over time. I figured that if I could find out exactly what is being measured there, I could start to trackdown what might be slowing this system down.
CPU states: 0.7% user, 0.0% system, 0.0% nice, 3.1% idle
My question is, what exactly is being measured under "system"? The man pages say that it's the percentage of CPU time in "system mode". What exactly does that mean?
The reason I ask is that I have a pair of servers with identical hardware and identical Redhat operating systems. There are a few software differences most notably different versions of PostGres and different versions of the in-house software. What I've noticed, however, is that one of them is nearly three times slower than the other when performing tasks. This same machine also shows about a three-fold increase in this "System" percentage statistic when measured over time. I figured that if I could find out exactly what is being measured there, I could start to trackdown what might be slowing this system down.
