LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How much RAM is being used? (https://www.linuxquestions.org/questions/linux-newbie-8/how-much-ram-is-being-used-535059/)

johnpaulodonnell 03-06-2007 08:35 AM

How much RAM is being used?
 
Hi.

Is there anyway of checking how much RAM is being used / remains free as a code is being run?

Thanks

lugoteehalt 03-06-2007 08:51 AM

Would have thought 'top' would do it??

pixellany 03-06-2007 08:51 AM

more /proc/meminfo (to see it in real time)

In a script, you can read /proc/meminfo and perhaps filter out just the parts you need.

johnpaulodonnell 03-06-2007 08:55 AM

Thanks for that.

ed-j 03-06-2007 09:20 AM

Had a look too!
 
Wow! Had no idea my RAM did so many things? The fact that I don't understand 95% of it is absolutely irrelevant. At least I found out I've only got 84kb of "Dirty" memory. I'll get the pan scrubber on it next time I take my machine apart!

Many thanks! :-)


All times are GMT -5. The time now is 11:10 AM.