> Have you tried just letting OS X manage the swap files but forcing a fixed 
> size?

Yes. It starts putting memory up onto disk much earlier.
It will put a lot of memory up, running up at least half a gig of swap
file space, in the same usage pattern that currently occupies no
swapfile space.

> And is dynamic_pager-wrapper something you modified from the normal 
> /sbin/dynamic_pager, or did the file get renamed in 10.6?

Heh, looks like I missed a file then.

Kleiman-ibook:~ michael$ less /sbin/dynamic_pager-wrapper
#!/bin/sh
echo Dynamic pager called with args -E "$@"
exec /sbin/dynamic_pager -E "$@"
Kleiman-ibook:~ michael$

So it's just a debugging wrapper.

>> free=`vm_stat |     egrep     ' free' | awk '{print $NF}' | sed s,\\\\.,,`
>
> This brings up an unrelated awk question which you might know the answer to.
>
> Let's say I want to awk print $5 to $NF, how do I do that?

Hmm... quick response is to use a loop. Ugly, but I can't think of a
better way offhand.
_______________________________________________
MacOSX-talk mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-talk

Reply via email to