Are you using Nvidia-DGX1 as a shared resource? Having trouble to map your DGX-1 container with GPU? Having unknown process to locked some of the GPU and you can't find who is the user?
With any of above, you want may want my script.
$ git clone https://github.com/teochenglim/nvidia-gpu-id
$ cd nvidia-gpu-id
$ sudo chmod -R a+x *
$ sudo chown -R root:root *
$ sudo mv * /usr/local/bin/
$ vi ~/.bashrc
### Append this lines at the bottom of the file
export PATH=$PATH:/usr/local/bin
$ pip install psutil
$ nvidia-gpu-pid