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

Only showing memory #234

Open
nicdelillo-fitprime opened this issue May 3, 2024 · 9 comments
Open

Only showing memory #234

nicdelillo-fitprime opened this issue May 3, 2024 · 9 comments
Labels

Comments

@nicdelillo-fitprime
Copy link

nicdelillo-fitprime commented May 3, 2024

Hi everyone, I installed the new resource usage over the old system monitor.
It seems to kinda work but I am not sure why it is showing only the memory and without the upper limit.
Jupyter lab version in 4.1.8

In my old Jupyter lab 2.1.3 system monitor was working brilliantly and showing CPU percentage and memory used over the slashed max limit in this format"used/max".

Is there anything I can do? I also attache two screenshot of the current status.
<img width="426" alt="Screenshot 2024-05-03 at 22 23 29" src="https://github.com/jupyter-server/jupyter-resource-usage/assets/167303955/247982
Screenshot 2024-05-03 at 22 23 36
e6-3886-4d80-8683-564300708429">

p.s. not sure why the second image was not uploaded, I have put it in the comments below

Copy link

welcome bot commented May 3, 2024

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@nicdelillo-fitprime
Copy link
Author

Screenshot 2024-05-03 at 22 23 29

@guzman-raphael
Copy link

guzman-raphael commented May 8, 2024

@jtpio Ran into this issue today as well. Saw that jtpio/jupyterlab-system-monitor has been archived and #84 is still open. Is there any solution to get CPU info to display on Jupyter Lab 4.X UI?

Memory upper bound also don't show up for me. Do you have to set MEM_LIMIT as opposed to detecting available memory?

@nicdelillo-fitprime
Copy link
Author

Yes I confirm also for me memory memory upper bound do not show as well

@TopCoder2K
Copy link

TopCoder2K commented Jun 9, 2024

Same here with jupyterlab=4.2.1 and jupyter-server-resource-usage=1.0.2. Are there any plans to fix this, @jtpio?

By the way, the tachometer shows the CPU load. Moreover, it seems to correctly show the total amount of RAM on my server.

@frittentheke
Copy link

Is this related to the PR #153 by any chance?

@Vector-Cross
Copy link

if you change user name or workdir just like below, you should modify /home/zylj/.jupyter/jupyter_server_config.py instead of ~/.jupyter/jupyter_server_config.py

docker run -d \
    -p 52202:8888 \
    --user root \
    -e NB_USER="zylj" \
    -e CHOWN_HOME=yes \
    -e GRANT_SUDO=yes \
    -w "/home/zylj" \
    -v "/app/jupyter-sci-lab/workspace":/home/zylj \
    -e TZ="Asia/Shanghai" \
    -v /etc/localtime:/etc/localtime:ro \
    --name jupyter-sci-lab \
    jupyter/scipy-notebook:aarch64-lab-4.0.7

@krassowski
Copy link
Collaborator

krassowski commented Nov 26, 2024

@Vector-Cross did you mean to post it in this thread? It looks unrelated at first glance.

@krassowski
Copy link
Collaborator

To show CPU usage you need to follow instructions in the README:

https://github.com/jupyter-server/jupyter-resource-usage#cpu-usage

If you want to show disk usage, again please follow instructions in the README:

https://github.com/jupyter-server/jupyter-resource-usage#disk-partition-usage

(after making sure you have the latest version installed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants