system free memory

Bengt Kleberg <>
Thu Jun 22 07:22:32 CEST 2006


On 2006-06-21 22:16, Tony Zheng wrote:
> Hi
> 
> I used Solaris x86 on Unix platform. Is there any commands on erlang to
> know the system free memory? Thanks.

take a look at get_system_memory_data() in the memsup module, in the 
osmon application:
http://www.erlang.se/doc/doc-5.4.3/lib/os_mon-1.7.1/doc/html/index.html

remember to start the applicaiton before you use the function.


bengt
-- 
    EPO guidelines 1978: "If the contribution to the known art resides
    solely in a computer program then the subject matter is not
    patentable in whatever manner it may be presented in the claims."



More information about the erlang-questions mailing list