Page 1 of 1

View Memory Usage in Linux

Posted: Mon Aug 08, 2011 10:47 am
by mib2berlin
Hi, one user in blendpolis.de shows us some very interesting string for nvidia-smi in linux:

nvidia-smi -q -d MEMORY | grep -A 2 Mem

Don“t know about windows but try:

nvidia-smi -q -d MEMORY

Cheers, mib.

Re: View Memory Usage in Linux

Posted: Mon Aug 08, 2011 11:33 am
by matej
Interesting & thanks for the tip.

I have 245MB used while not doing anything, just browsing the net... too much, imo :)

Re: View Memory Usage in Linux

Posted: Mon Aug 08, 2011 1:51 pm
by mib2berlin
Update:
Small window display top center:

Code: Select all

while :
do 
nvidia-smi -q -d MEMORY | grep -A 2 Mem | tail -2 | cut -d ":" -f 2 | \
cut -d " " -f 2 | paste -d "/" - - | osd_cat -A center -d 1 -c green
done
You need xosd or compile by yourself:
http://freshmeat.net/projects/xosd/

Cheers, mib.
This script is from Fish at blendpolis.de