Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I run CentOS 5 on VMware 7.0.1, and when Firefox is up, computer's CPU (both on host and guest) is 99%~100% use. I watch this in GUI System Monitor In Linux, but when I open Processes tab (or respectively use ps aux command) that what I see
2.8 /usr/bin/Xorg :
0.1 metacity --sm-c
0.2 nautilus --no-d
(names are cut)
all other is 0.0
In resources tab I see 99% CPU use. When I close Firefox CPU usage become be ~10%.
Some one can tell me how I can see more realistic image of CPU like it is in Windows for example?
Well, my problem isn't so deterministic...
Now I running Firefox again and it not use too much CPU.
Top actualy display the same (I mean sum of CPU usage) information like ps aux or System Monitor (but it is clear that top is more useful).
So, I gues, that in every case there is some processes that not dispalyed or "CPU leakage" if it is possible...
Lies, damn lies and statistics. You can do anything you like with numbers - and it's even worse when you are using sampled data.
But in your case I suspect you are merely missing the "sys" component.
A cpu is considered 100% busy if there is no time when it is not busy. Sounds the same but isn't necessarily - especially with sampled data. And if (for example) kernel mode code is running half the time, only 50% is available to userland. But it's still 100% busy.