Re: APIs to determine swap size and used swap?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com On Jun 1, 2005, at 3:08 PM, Mike Smith wrote: _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... 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... - How much file space is occupied by swap; you can look at the swapfile* files in /var/vm for that (swap space reserved) This email sent to site_archiver@lists.apple.com
participants (1)
-
Glen Beane