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

Improve memory and CPU reporting from docker containers #198

Open
mensfeld opened this issue Oct 27, 2023 · 1 comment
Open

Improve memory and CPU reporting from docker containers #198

mensfeld opened this issue Oct 27, 2023 · 1 comment
Assignees
Labels
tracking Metrics tracking related stuff

Comments

@mensfeld
Copy link
Member

No description provided.

@mensfeld mensfeld self-assigned this Oct 27, 2023
@mensfeld mensfeld added the tracking Metrics tracking related stuff label Oct 27, 2023
@afterdesign
Copy link

afterdesign commented Oct 27, 2023

I think with help of cgget this can be done. cgget is part of the cgroup-tools.

cgget -n -r memory.limit_in_bytes /
cgget -n -r memory.max_usage_in_bytes /
cgget -n -r memory.usage_in_bytes /

And for cpu (info on cpu share)

cgget -n -r cpu.shares /

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracking Metrics tracking related stuff
Development

No branches or pull requests

2 participants