UPDATE 2022-07: see python script attached
-
find PIDs responsibles of most memory usage:
ps aux --sort=-%mem | head
-
look at the name of the JSON used inside the jupyter launcher command, usually is
kernel-${kernel_id}.json
and get `${kernel_id} -
go at the jupyter server endpoint
/api/sessions