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

How to configure "Enable resource usage indicators" to true from c = get_config() #244

Open
sgrenf95 opened this issue Mar 18, 2025 · 0 comments

Comments

@sgrenf95
Copy link

Hello Jupyter Server community!

Do you know if there is a way to set the "Enable resource usage indicators" from the Resource Usage Indicator settings to True (see attached image) from the jupyter_server_config.py file?

Image

So I have a configuration file called jupyter_server_config.py with the following content:

import sys
import os

from jupyter_core.paths import jupyter_data_dir
import subprocess
import errno
import stat

c = get_config()
c.ServerApp.open_browser = False

c.ResourceUseDisplay.track_cpu_percent = True
c.ResourceUseDisplay.track_disk_usage = True

# Add bash as a jupyter terminal shell
c.ServerApp.terminado_settings = {'shell_command': ['/bin/bash']}

Do you know if there is a way to configure the "Enable resource usage indicators" setting to True from the jupyter_server_config.py file?

@sgrenf95 sgrenf95 changed the title How to configure "Enable resource usage indicators" to true from c = get_config() How to configure "Enable resource usage indicators" to true from c = get_config() Mar 18, 2025
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

1 participant