Information about hardware

How to get information about free and used RAM in Mac OS? By using which function?

Replies

Not placed there. Sorry.