Re: Swap file tracking

2013-12-07 Thread steve harley
on 2013-12-05 22:09 LuKreme wrote On 05 Dec 2013, at 13:32 , steve harley st...@paper-ape.com wrote: ls -l /var/vm/swapfile* | awk '{ foo+= $5 } END { printf swap is %2.1f MB, foo/1024^3 }' 1024^3 is GB. yup - i think a few years ago i did a hasty edit; it was originally 1024^2, but i

Re: Swap file tracking

2013-12-06 Thread R. O. Durrer
Could it be a sleepimage ? On my Mini mid 2011 (running 10.6.8), there are two rather small swapfiles (67 MB each), and a huge sleepimage of 8.52 GB in private:var:vm Rudolf Am 04.12.2013 um 18.46 schrieb Neil Laubenthal: On Dec 4, 2013, at 12:41 PM, list boy i.am.list@gmail.com wrote:

Re: Swap file tracking

2013-12-05 Thread steve harley
on 2013-12-04 10:46 Neil Laubenthal wrote On Dec 4, 2013, at 12:41 PM, list boy i.am.list@gmail.com wrote: Anyone know if there's a way (via the console/Terminal) to track swap file size, over time? i used to have this shell script assigned to a keyboard shortcut: #!/bin/bash ls -l

Re: Swap file tracking

2013-12-05 Thread LuKreme
On 04 Dec 2013, at 10:46 , Neil Laubenthal n...@laubenthal.net wrote: I thought I understood this stuff…but Activity Monitor shows 8.11 GB of VM currently while I only have a 67MB and a 1GB actual swap file. NB: You will *always* have at least 1GB swapfile under 10.9. (actually, I think you

Re: Swap file tracking

2013-12-05 Thread LuKreme
On 05 Dec 2013, at 13:32 , steve harley st...@paper-ape.com wrote: ls -l /var/vm/swapfile* | awk '{ foo+= $5 } END { printf swap is %2.1f MB, foo/1024^3 }' 1024^3 is GB. -- I have NOT lost my mind! I've got a backup around here somewhere. ___

Swap file tracking

2013-12-04 Thread list boy
Anyone know if there's a way (via the console/Terminal) to track swap file size, over time? (I think data will help my cause) ___ MacOSX-talk mailing list MacOSX-talk@omnigroup.com http://www.omnigroup.com/mailman/listinfo/macosx-talk

Re: Swap file tracking

2013-12-04 Thread Neil Laubenthal
On Dec 4, 2013, at 12:41 PM, list boy i.am.list@gmail.com wrote: Anyone know if there's a way (via the console/Terminal) to track swap file size, over time? You can ls /private/var/vm of course…but I don’t think the actual size of the swap files in there goes down unless you reboot in

Re: Swap file tracking

2013-12-04 Thread Jochem Huhmann
Neil Laubenthal n...@laubenthal.net writes: I thought I understood this stuff…but Activity Monitor shows 8.11 GB of VM currently while I only have a 67MB and a 1GB actual swap file. Where does the over almost 7GB of VM reside? In imaginary land... Most of this probably is memory

Re: Swap file tracking

2013-12-04 Thread Arno Hautala
On Wed, Dec 4, 2013 at 12:46 PM, Neil Laubenthal n...@laubenthal.net wrote: […] but I don’t think the actual size of the swap files in there goes down unless you reboot in which case they get deleted. I've definitely seen the number of swap files decrease. Rarely, but I've seen it a handful of

Re: Swap file tracking

2013-12-04 Thread Neil Laubenthal
There's a lot to be said for that. neil The three kinds of stress…nuclear, cooking and ahole. Jello is the key to the relationship. On Dec 4, 2013, at 13:19, Jochem Huhmann j...@gmx.net wrote: stuff all the memory sticks into your machine that it can take

Re: Swap file tracking

2013-12-04 Thread list boy
Agreed, except I'm at 4 GB (which I believe was the max for a MacBook Air 4,2) And it seems like most people gasp when I tell them my swap file size(s). So maybe (?) my particular case has something especially wrong with it... (like, say, a Sandforce SSD) On Dec 4, 2013, at 1:19 PM, Jochem

Re: Swap file tracking

2013-12-04 Thread Michael
10.7.5 definitely will reduce swapfile size when programs free up memory. Today, for example, I was at 8 GB of swap file, and now I'm down to 4 GB. Earlier versions would not; at least as recently as 10.4, and I think 10.5 on the PPC, swapfile space would only be reclaimed if everything after