jupyter-resource-usage icon indicating copy to clipboard operation
jupyter-resource-usage copied to clipboard

determine if nbresuse is running in docker or pod

Open xianglei opened this issue 5 years ago • 3 comments

Returns the correct memory & cpu values when nbresuse running in a docker or pod environment

xianglei avatar Sep 07 '20 03:09 xianglei

forgot import os module

xianglei avatar Sep 07 '20 03:09 xianglei

Thanks @xianglei. It's true the limits are for now not accurate when running in a container (not taking the cgroups limits into account).

jtpio avatar Dec 23 '20 09:12 jtpio