Darwin does not have a proc filesystem.
You can use vmstat

root# vm_stat
Mach Virtual Memory Statistics: (page size of 4096 bytes)
Pages free:                    21040.
Pages active:                 213760.
Pages inactive:               116411.
Pages wired down:              42005.
"Translation faults":      410311230.
Pages copy-on-write:        21893419.
Pages zero filled:         300930759.
Pages reactivated:          10065351.
Pageins:                      661511.
Pageouts:                     451005.
Object cache: 690826 hits of 3670673 lookups (18% hit rate)

On Jan 31, 2007, at 6:13 PM, Thomas Anders wrote:

> chris jalbert wrote:
>> We don't know what OS parameters they represent or even if they are
>> appropriate to a desktop or server CPU.
>
> These objects have probably been created with Linux in mind where you
> have 'Cached' and 'Buffers' lines in /proc/meminfo:
>
> linux# cat /proc/meminfo
> MemTotal:      1035196 kB
> MemFree:         24064 kB
> Buffers:         37180 kB
> Cached:         380272 kB
> [...]
>
> The Linux version of top(1) displays these values as well.
>
> I have no idea whether Darwin/OSX offers similar statistics on how the
> system makes use of currently unused memory.
>
>
> +Thomas
>
> --  
> Thomas Anders (thomas.anders at blue-cable.de)
>
> ---------------------------------------------------------------------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to