A monitoring and management library, nvidia-ml, is included with the NVIDIA Linux graphics driver.
The write applications against this library download the CUDA Tools SDK: http://developer.nvidia.com/cuda-downloads
To include nvidia-ml functionality in scripting languages see: http://search.cpan.org/~nvbinding/nvidia-ml-pl/lib/nvidia/ml.pm and http://pypi.python.org/pypi/nvidia-ml-py/