ptop
ptop copied to clipboard
Memory and CPU charts are not loaded when run in docker
Just booted a docker container and installed ptop in it, can't see cpu and memory charts.
@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
Thanks Gowtham for digging this out. I will check this out and let you know the update.
Cheers !