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 tracking doesn't seem to work #1

Open
vincentwoo opened this issue Sep 17, 2013 · 2 comments
Open

CPU usage tracking doesn't seem to work #1

vincentwoo opened this issue Sep 17, 2013 · 2 comments

Comments

@vincentwoo
Copy link

I'm on Ubuntu 13.04 x64, using docker. I can hit /:name/mem to get what seem like accurate memory counts, but /:name/cpu seems to always return 0.

@Soulou
Copy link
Owner

Soulou commented Sep 18, 2013

I'm looking at that issue as soon as I can ;-)

@Soulou
Copy link
Owner

Soulou commented Oct 18, 2013

Ok I've worked a bit on that, Sorry for the long time.
I've added some debug and allow short container id.

Everything seems to work correctly:

└> curl http://localhost:4244/containers/c3e8cc51df10/mem
4788224
└> curl http://localhost:4244/containers/c3e8cc51df10/cpu
18

Wait a second

└> curl http://localhost:4244/containers/c3e8cc51df10/cpu
16 

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

No branches or pull requests

2 participants