“Lazy, a Tool for Running Things in Idle Time”, nshepperd2021-05 (; backlinks)⁠:

Simple Linux CLI utility developed by nshepperd for local GPU training—mostly used to stop CUDA ML model training from making my desktop unusable by unresponsiveness.

lazy simply monitors keyboard/mouse idleness using xprintidle, and pauses the given process using SIGSTOP whenever the machine is in use (defined as no activity within the last second).