Erlang Mailing Lists

Author Message

<  Erlang patches mailing list  ~  patch for get_memory_usage_linux on linux-2.6

nicolas.niclausse at idea
Posted: Fri Feb 13, 2004 2:34 pm Reply with quote
Guest
Hello,

Since /proc/meminfo has changed in linux 2.6, the os_mon application do
not work anymore. The following patch fix the parsing of /proc/meminfo
on a linux 2.6 kernel


Btw, the fonction gives the memory used on a linux system, but since
linux is using all the available memory for caching (and buffering), the
free memory reported by this function is meaningless. Maybe we should
subtract the cache size to the MemUsed value ?



Post generated using Mail2Forum (http://m2f.sourceforge.net)

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum