Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
servername # bc -l
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
184552743 / (184552743 + 3805228 + 184960730 + 293651438 + 145570191 )
That gives you 22% cpu usage.
But if you look at mpstat or vmstat:
servername # mpstat 5
Linux 2.6.5-7.283-bigsmp (servername) 11/04/09
21:54:17 CPU %user %nice %system %iowait %irq %soft %idle intr/s
21:54:18 all 0.50 0.00 0.25 0.00 0.00 0.25 99.00 4255.00
21:54:19 all 0.25 0.00 0.25 0.00 0.00 0.00 99.50 3528.71
Anybody have any clues what I'm looking at and doing wrong?