memory-status-jupyter
Adds memory usage of jupyter to status bar. Works only on linux (servers) and jupyter process must be executed from/via user.
How It Works
It works by regularly executing ps aux --sort=-%mem | grep jupyter | grep $USER | head -n 1
- Get all processes, sorted by highest memory usage
- Get process which contains "jupyter"
- Get your specific jupyter process
- If working on server, multiple users might use jupyter
- Does not work if jupyter is not running from $USER
- Get the first entry
- If multiple jupyter instances are running, only the one with the highest memory usage is used
So the tool uses your running jupyter process with highest memory usage and prints the memory usage in the lower status bar.
You can also click on it to get more information about the jupyter process.
| |