I am using ubuntu 12.04 and have a GPU (Nvidia Geforce GT 640) connected to it. I execute OpenCL codes on this GPU. How can I monitor the usage of the GPU when a code is being executed? Is there any tool like 'System Monitor' in ubuntu which gives GPU details? Or a command line functionality would also work. Any ideas on what should be used?