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

Memory and CPU charts are not loaded when run in docker #17

Open
darxtrix opened this issue Jul 12, 2017 · 2 comments
Open

Memory and CPU charts are not loaded when run in docker #17

darxtrix opened this issue Jul 12, 2017 · 2 comments

Comments

@darxtrix
Copy link
Owner

Just booted a docker container and installed ptop in it, can't see cpu and memory charts.

@darxtrix darxtrix changed the title Memory and CPU charts are not loaded in docker Memory and CPU charts are not loaded when run in docker Jul 12, 2017
@Gowtham1729
Copy link

Gowtham1729 commented Sep 26, 2019

@darxtrix The reason for this is that the bash shell inside the docker container is encoding the characters by ASCII. We are using UTF-8 characters to show CPU and memory usage.
We can resolve this by changing the character encoding inside the docker container's bash shell.

LC_ALL=C.UTF-8 bash

Use the above code in docker container's bash to resolve the issue

@darxtrix
Copy link
Owner Author

darxtrix commented Oct 3, 2019

Thanks Gowtham for digging this out. I will check this out and let you know the update.

Cheers !

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

No branches or pull requests

2 participants