rapidsai / jupyterlab-nvdashboard

A JupyterLab extension for displaying dashboards of GPU usage.
BSD 3-Clause "New" or "Revised" License
598 stars 78 forks source link

Document running on alternate port #59

Open jacobtomlinson opened 4 years ago

jacobtomlinson commented 4 years ago

It is possible to pass an alternative port to nvdashboard as the first argument, e.g

$ nvdashboard 8001

This should be documented in the README.

davidrpugh commented 3 years ago

In Slurm scripts on HPC machines I have been using the following code.

NVDASHBOARD_PORT=8000
python -m jupyterlab_nvdashboard.server $NVDASHBOARD_PORT &
NVDASHBOARD_PID=$!
...
kill $NVDASHBOARD_PID