Skip to content
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

Process-CPU Tracking #71

Closed
NielsKorschinsky opened this issue Aug 2, 2021 · 1 comment · Fixed by #72
Closed

Process-CPU Tracking #71

NielsKorschinsky opened this issue Aug 2, 2021 · 1 comment · Fixed by #72
Assignees
Labels
bug Something isn't working
Milestone

Comments

@NielsKorschinsky
Copy link
Member

Urgent: CPU-Process Data does not show any spikes/real time information.

Sadly the replacement of top by ps has some backlashes.
ps only tracks the CPU-Usage of a process over its whole runtime as an average and not like top within the last minutes.
I've noticed that even with Top showing a java usage of 100% (related to #49 ), ps does not show these spikes.

The ps manual says following:

CPU usage is currently expressed as the percentage of time spent
       running during the entire lifetime of a process.  This is not ideal,
       and it does not conform to the standards that ps otherwise conforms to.
       CPU usage is unlikely to add up to exactly 100%.

I'm still seaching for a pre-installed non-interactive version to track the cpu usage of certain processes.

@NielsKorschinsky NielsKorschinsky added the bug Something isn't working label Aug 2, 2021
@NielsKorschinsky NielsKorschinsky added this to the 1.0 Release milestone Aug 2, 2021
@NielsKorschinsky NielsKorschinsky self-assigned this Aug 2, 2021
NielsKorschinsky added a commit that referenced this issue Aug 6, 2021
@NielsKorschinsky
Copy link
Member Author

The best solution is to re-introduce TOP.
Top does not work with RAM due its truncation issue even in -b-Mode.
Also the SPP-Servers do not support the -E option.

Therefore PS would be best to collect RAM and storage information, while TOP is able to collect % CPU usage.

baslerj added a commit that referenced this issue Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant