jupyter-resource-usage
jupyter-resource-usage copied to clipboard
Jupyter Notebook Extension for monitoring your own Resource Usage
The memory is not correct if multi process sharing memory. I think we should use pss of [memory_full_info](https://psutil.readthedocs.io/en/latest/#psutil.Process.memory_full_info), thanks!
I was just wondering if this is possible. Also I wanted to say this extension is awesome thank you.
Let's keep discussions on what to do next with `nbresuse` in this meta issue. ---- - [x] Restore the `/metrics` endpoint to keep backward compatibility for the `0.3.x` releases: #45...
Hello, I installed plugin jupyter-resource-usage on a jupyterhub. the jupyterhub is deployed via helm chart on kubernetes cluster. When a request is sent to /api/metrics/v1 the response is {"rss": 112574464,...
### Problem As documented in the README, memory usage only includes RSS. But it would be very helpful for swap space used by Jupyter kernels to be included in this...
now ```python if config.track_cpu_percent: cpu_count = psutil.cpu_count() cpu_percent = await self._get_cpu_percent(all_processes) if config.cpu_limit != 0: limits["cpu"] = {"cpu": config.cpu_limit} if config.cpu_warning_threshold != 0: limits["cpu"]["warn"] = (config.cpu_limit - cpu_percent) < (...
Installed nbresuse as per following steps ; > pip install nbresuse > jupyter serverextension enable --py nbresuse --sys-prefix > jupyter nbextension install --py nbresuse --sys-prefix > jupyter nbextension enable --py...
Installing nbresuse with conda for jupyterlab 2.2.9, I get following error at cpu_limit or memlimit when I use like this: ``` docker run --name ${NAME}_cont \ --cpus=$CONTAINER_CPU_PER --cpuset-cpus=$CONTAINER_CPU_ARRAY \ --memory=${CONTAINER_MEM}...
``` jupyter 1.0.0 jupyter-client 6.1.11 jupyter-console 6.0.0 jupyter-contrib-core 0.3.3 jupyter-contrib-nbextensions 0.5.1 jupyter-core 4.7.0 jupyter-nbextensions-configurator 0.4.1 jupyter-resource-usage 0.5.1 jupyter-server 1.2.2 jupyterlab 3.0.5 jupyterlab-server 2.1.2 jupyterlab-system-monitor 0.7.0 jupyterlab-topbar 0.6.0 nbresuse 0.4.0 ```...
Returns the correct memory & cpu values when nbresuse running in a docker or pod environment