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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello,
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
0.1 /usr/sbin/vmtoo
2.8 /usr/bin/Xorg :
0.1 metacity --sm-c
0.2 nautilus --no-d
0.1 /usr/lib/vmware
0.3 gnome-terminal
28.5 /usr/lib/firefo
13.4 gnome-system-mo
(names are cut)
sum: 45.5
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.
Maybe.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.