Re: APIs to determine swap size and used swap?
Re: APIs to determine swap size and used swap?
- Subject: Re: APIs to determine swap size and used swap?
- From: Glen Beane <email@hidden>
- Date: Wed, 1 Jun 2005 15:25:32 -0400
I guess I'll just use sysctl to get vm.swapusage - that report
total, used, and free swap, although "total" swap on OS X is quite
different from total swap on Linux or BSD, since it isn't an upper
bound but instead is how much space is occupied by the various swap
files. the data isn't critical to the application anyway...
On Jun 1, 2005, at 3:08 PM, Mike Smith wrote:
- How much file space is occupied by swap; you can look at the
swapfile* files in /var/vm for that (swap space reserved)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden