jupyterlab-system-monitor icon indicating copy to clipboard operation
jupyterlab-system-monitor copied to clipboard

How can I change the memory displaying unit?

Open sjoh-kw opened this issue 2 years ago • 1 comments

In Readme.md, the example shows the unit of memory usage in GB, but my browser shows in MB. How can I change this unit?

sjoh-kw avatar Aug 02 '21 06:08 sjoh-kw

Thanks @sjoh-kw.

The unit should automatically be adjusted based on the current usage. See the source for the relevant logic:

https://github.com/jtpio/jupyterlab-system-monitor/blob/926069c8faaf62b74a02bf5fb0692729d3643467/packages/system-monitor-base/src/model.ts#L256-L284

jtpio avatar Aug 30 '21 15:08 jtpio

Closing as jupyterlab-system-monitor has now been integrated in jupyter-resource-usage: https://github.com/jupyter-server/jupyter-resource-usage/issues/191

Feel free to open a new issue on the jupyter-resource-usage repo if needed: https://github.com/jupyter-server/jupyter-resource-usage

Thanks!

jtpio avatar Jul 28 '23 15:07 jtpio