AIXThis forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.
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.
When I do a "topas" on my AIX server, it shows that my kernel takes 60%, users 40%, wait 0% and Idle 0%.
Is it good/right ?
How can I see what my kernel does ?
ps -ef gives me users informations, but what about the kernel ?
Most processes have kernel and user components. "Kernel" CPU is when the kernel is doing something (e.g. making system calls, talking to devices, checking permissions), "User" is when the process is doing something on its own without the kernel being involved.
The figures you have look OK. The balance between kernel and user components will depend on the individual applications and what you are doing with them.
However, the rule of thumb is that you add together kernel and user to get the total CPU%. In your case, the total CPU% is 100 which means you are CPU-bound : this might be OK for batch jobs, but will be hurting performance for any interactive work.
Look at the top CPU-hogging processes (ps aux sorts processes by CPU use).
Of course, this means that you are using all of your cpu power. 60-40 is a good ratio.
If is the cause from time to time, don't panic.
If this occurs 24 hiours per day, and if you find it not comfortable, you should consider buying extra cpu's if you have a multi-cpu upgradable machine.
Regards
Zorba
err... no, this is not good .... looks like your system is cpu bound.
usr + sys constantly above 80% = cpu bound
You need to work out what kernel task is spinning, you could be hitting one of many kernel routine spin defects.
what level of code are you running ? what ML levels ?
run tprof / pprof to work out what is using the most cpu ticks and post the offending routine / proc / system call then i should be able to teel you if its a known defect or not...... could be that you just need more cpu power, but you want to rule out the cheapest options 1st like APARs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.