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

I want to display the cpu usage on the screen. #67

Closed
asdf0480 opened this issue Oct 23, 2020 · 3 comments · Fixed by #105
Closed

I want to display the cpu usage on the screen. #67

asdf0480 opened this issue Oct 23, 2020 · 3 comments · Fixed by #105

Comments

@asdf0480
Copy link

캡처
Can you tell me how to pull out the cpu_percent in this part? I want to express it in the main.js.

@jtpio
Copy link
Member

jtpio commented Nov 18, 2020

@asdf0480 it can be enabled via the config or the command line, for example:

jupyter notebook --NotebookApp.ResourceUseDisplay.track_cpu_percent=True --NotebookApp.ResourceUseDisplay.cpu_limit=2

Then the value should appear in the /metrics response. When running locally: http://localhost:8888/metrics

@KahThong
Copy link

May I know if it is possible to get cpu usage display on the notebook right top corner? Similar to the memory usage display.

@jtpio
Copy link
Member

jtpio commented Dec 14, 2020

@KahThong this would have to be added the classic notebook extension here:

$('#maintoolbar-container').append(

@jtpio jtpio linked a pull request Jul 23, 2021 that will close this issue
@jtpio jtpio closed this as completed in #105 Dec 3, 2021
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

Successfully merging a pull request may close this issue.

3 participants