I'm trying to restart a Jupyter Lab server (not just the kernels) running in the background of an AWS SageMaker notebook instance. I have already tried the following:
pgrep
doesn't show me the processpkill
can't find the processps aux
shows the process ID as constantly changingjupyter notebook stop
The only thing I've been able to do is reboot the entire instance, which isn't a great option as it can take awhile to become available again.
Edit 1:
The main reason I am trying to do this is that after installing the tqdm
package and trying to use tqdm.notebook
in Jupyter Lab, in order for it to display correctly I need to enable/install notebook and lab extensions. In order for these to take effect the server then needs to be restarted.
Try this:
Commands
Help
section on the popout menuBoth classic Jupyter and Jupyter lab live within the same process.
sudo initctl restart jupyter-server --no-wait
is what AWS suggest in https://forums.aws.amazon.com/thread.jspa?messageID=917594󠁚
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With