1832274 Members
1880 Online
110041 Solutions
New Discussion

Swap on Mac OS X

 
Stefan Farrelly
Honored Contributor

Swap on Mac OS X

Sorry for the offtopic question but does anyone on this list know anything about how swap works on Mac OS X ?

Its a strange flavour of unix. Uses HFS, old section partitions (aka HP-UX 8/9), no free or pstat commands, no /var/adm (uses /var/log) and what appears to be no swap area (just some VM swapfile in /var/vm which is nowhere near as big as physical RAM) but the huge manual with it doesnt even have the word swap in the index! Weve got apps crashing with malloc errors when we try to fire them up and I suspect swap or kernel parameters but cant even find the kernel parameter settings....
Im from Palmerston North, New Zealand, but somehow ended up in London...
2 REPLIES 2
Volker Borowski
Honored Contributor

Re: Swap on Mac OS X

Well,
not being a Mac Expert I'd recommend

http://www.osxfaq.com

Man-pages of commands that might be helpfull:
- swaptab
- mach_swapon

According to this site there is a "pstat" command and in addition
ps(1), systat(1), stat(2), fs(5), iostat(8), vmstat(8)
are available.

May be they are dislocated ?!?!?

Good hunting
Volker
Wodisch
Honored Contributor

Re: Swap on Mac OS X

Hi,

AFAIK Apple's OS X is based on netBSD, so you should find a lot of doucmentation on the netBSD sites:
http://www.netbsd.org/
http://netbsd.gw.com/cgi-bin/man-cgi?swapctl+8
http://netbsd.gw.com/cgi-bin/man-cgi?swapon+8

FWIW,
Wodisch