-
-
Notifications
You must be signed in to change notification settings - Fork 439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pidstat return CPU > 100% for a process even after -I switch is used #149
Comments
@sysstat Can you please help me with this |
Please could you give more details (like the version of pidstat you are using)? |
@sysstat It is the latest version, i installed sysstat using apt-get install sysstat. |
Please tell me the exact version (output of pidstat -V). |
pidstat and multithreaded processes Time UID TGID TID %usr %system %guest %CPU CPU Command1512983762 20200 8677 0 100.00 36.00 0.00 100.00 13 dsf_processor Time UID TGID TID %usr %system %guest %CPU CPU Command1512983763 20200 8677 0 100.00 35.00 0.00 100.00 13 dsf_processor Now it seems that the process is only "charged" for what the first thread is using ( this program has two threads intentionally spinning 100% ) I would like to se 201% as %CPU for the process, unless -I is specified , when it should be 201/16 % in this case |
Please also refer to #73. |
I am using pidstat (sysstat) to calculate %cpu on my amazon ec2 machine(Debian 8) for performance monitoring. There are 2 issues with it:
The text was updated successfully, but these errors were encountered: