Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

We're running algorithms on Ubuntu and we need to know how much memory the program uses. Any help is appreciated.

share|improve this question
    
I read a thread recently on one of the opencl forums that indicates it isn't really possible unless you build it in to your application for AMD/ATI cards due to some optimizations that make memory management outputs non-global –  hbdgaf Oct 9 '12 at 19:19
    
I've noticed that. –  timothy Oct 11 '12 at 19:58

1 Answer 1

If you're really interested in monitoring an Nvidia GPU you can use the nvidia-smi tool (installed with nvidia-current package). See these references:

The latter in particular provides a nice script to output info.

For general memory and cpu usage, I'd go with htop (or top). Or you can use gnome-system-monitor for a gui based tool.

share|improve this answer
    
Okay thanks. This helps a lot. –  timothy Oct 11 '12 at 19:57
    
Glad it helps... if it answers your question, please check the answer. We should both receive some reputation points then. –  Ian B. Oct 11 '12 at 20:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.