LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   System resources... (https://www.linuxquestions.org/questions/linux-hardware-18/system-resources-208869/)

manofwax 07-23-2004 05:11 PM

System resources...
 
Hallo everyone, How is everyone doing?

I have written a couple of PHP scripts which take users' input and store them into mysql, and i was running MS stress test to generate 50 concurrent users to keep "clicking" those php script.

And then i "ssh" to the linux machine, and used "top" command, and check the CPU usage.

Now my question is, is the value shown by the "top" command represented the whole CPU? or just my LPAR? cuz i have 4 LPAR sharing this CPU.

Hope this is not too confusing, i tried my best to explain it.
Thanks =)

mritch 07-23-2004 06:05 PM

you can see the total of cpu usage in the upper part.
user means cpu usage for user-processes, system = system, nice = processes that run with a higher/lower priority (<- not 100% correct ;-). idle is the amount of unused cpucycles.

in the lower part you can see how much memory/cpu/time.. the individual process uses.
google for statments on top and also have a look at vmstat / iostat for further analysing.

sl mritch.

manofwax 07-23-2004 08:34 PM

but since, the cpu is shared by many other people (LPAR)
are the values which "top" gives the part which i'm using? or the CPU as a whole??


All times are GMT -5. The time now is 06:28 AM.