Posts tagged Linux
Monitoring GPU usage
- 04 September 2020
If you (like me) happen to be the performance freak, most likely you are well aware of process viewers like htop. Since I’ve started working with GPU-computing I missed htop-like tool tailored to monitor GPU usage. This is becoming more of an issue if you’re working in multi-GPU setups.
You can use nvidia-smi
which is shipped with NVIDIA drivers, but it’s not very interactive.
gpustat provide nice and interactive view of the processes running and resources used across your GPUs, but you’ll need to switch between windows if you want to also monitor CPU usage.
Encrypted swapfile
- 24 April 2015
Sometimes, it’s worth to encrypt swap space, especially if you process some privacy-sensitive data.
Inspired by AskUbuntu.
Progress of long processes in BASH
- 05 June 2014
You can view progress of your process execution in UNIX using pv or bar.
With pv
, you can even report progress of multiple modules of your pipeline.
This is very useful for tracing large database dump/restore progress: