question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

memory and CPU not showing in Jupyter Lab 3.0

See original GitHub issue

The bar does show on the top. I’m installing this with pip:

jupyterlab-topbar
jupyterlab-system-monitor

Running this in the docker file:

    jupyter labextension install jupyterlab-topbar-extension 
                             jupyterlab-system-monitor 
                             jupyterlab-topbar-text 
                             jupyterlab-theme-toggle

Launching it with this:

jupyter lab \
  --NotebookApp.ResourceUseDisplay.mem_limit=$(( 16 *1024*1024*1024 )) \
  --NotebookApp.ResourceUseDisplay.track_cpu_percent=True \
  --NotebookApp.ResourceUseDisplay.cpu_limit=$(( 16 )) \
  --NotebookApp.allow_origin='*' \
  --NotebookApp.base_url=/ \
  --NotebookApp.log_format='%(message)s' \
  --NotebookApp.log_level='INFO' \
  --NotebookApp.password='' \
  --NotebookApp.token='' \
  --ip=0.0.0.0 \
  --no-browser \
  "--notebook-dir=$HOME" \
  --port=8888

The toolbar shows with the “Hello” and theme switch but not the memory and CPU.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:14 (3 by maintainers)

github_iconTop GitHub Comments

10reactions
tlvucommented, Jul 27, 2021

I also have the same problem. CPU not showing, only memory is showing.

5reactions
yositcommented, Mar 12, 2021

@jtpio thanks. It now shows the memory - only the label and the memory consumed (without the total like in the readme) and without the spike chart. It’s not showing the CPU.

this is from the log:

[I 2021-03-12 08:36:42.154 ServerApp] jupyter_resource_usage | extension was successfully linked.
[W 2021-03-12 08:36:42.159 ServerApp] Trait, ResourceUseDisplay, not found.
[I 2021-03-12 08:36:42.381 ServerApp] nbclassic | extension was successfully linked.
[I 2021-03-12 08:36:42.396 ServerApp] jupyter_resource_usage | extension was successfully loaded.
[I 2021-03-12 08:36:42.397 LabApp] JupyterLab extension loaded from /usr/local/lib/python3.6/dist-packages/jupyterlab
Read more comments on GitHub >

github_iconTop Results From Across the Web

RAM or CPU show nothing · Issue #26 · jtpio/jupyterlab ...
Hello, I've been trying this extensions but it seems nothing happened. I use Kubernetes for deployment. Here my versions: jupyter-client ...
Read more >
jupyterlab-system-monitor - PyPI
JupyterLab extension to display system information (memory and cpu usage). Provides an alternative frontend for the jupyter-resource-usage ...
Read more >
5 Must Have JupyterLab extension for data science!
JupyterLab system monitor is an extension that displays system information like CPU usage and memory usage in the Jupyter notebook.
Read more >
No kernel option buttons on jupyter-lab - Stack Overflow
Given it is a reported bug (see following), it may not help but worth trying that as a starting point always. -- That...
Read more >
JupyterLab Extension to Display System Metrics - Morioh
JupyterLab extension to display system information (memory and cpu usage). ... Starting from JupyterLab 3.0, extensions can be distributed as a Python ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found