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

CPU usage reported as 0.00 when using --modern-bpf #2043

Closed
vaskozl opened this issue Nov 20, 2023 · 2 comments · Fixed by #2055
Closed

CPU usage reported as 0.00 when using --modern-bpf #2043

vaskozl opened this issue Nov 20, 2023 · 2 comments · Fixed by #2055
Milestone

Comments

@vaskozl
Copy link

vaskozl commented Nov 20, 2023

This seems like something that should already be known but I couldn't find an issue referencing it.

While CPU usage is reported fine in both kernel and bpf driver mode, using --modern-bpf results in csysdig reporting CPU usage as zero for all processes.

I've tested this on clusters running both Talos Linux and Amazon Linux with a few different version of Kubernetes/kernels, they do not report CPU with the latest 0.34.1 image.

top in the same container has no trouble reporting the CPU usage.

@therealbobo therealbobo added this to the 0.35.0 milestone Dec 12, 2023
@therealbobo
Copy link
Contributor

Hey @vaskozl! Did you experienced this issue on previous versions of sysdig? 🤔

@therealbobo
Copy link
Contributor

This PR #2055 should fix the issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants