Locate SWAP file on MacOS X
28/03/2010 — Classé dans Geek
You will be able to find the swap file with the following command :
ps -wax | grep dynamic_pager -m1
And if you are using the default OS X configuration, you’ll get something like that (swap file is /private/var/vm/swapfile) :
34 ?? 0:00.01 /sbin/dynamic_pager -F /private/var/vm/swapfile