Recently I have successfully got CUDA running in an LXD container. Everything seems to work fine but one thing that is bugging me is that nvidia-smi (running this inside the LXD container) doesn’t show the processes running at the moment (it is just empty) even when it is reporting GPU utilization correctly.
I would like to know where nvidia-smi gets the current running processes from, the driver or from the device nodes? By the way nvidia-smi does show the current running processes when I run it on the host machine. Can someone give me some pointers on how get this fixed?
Thanks in advance!