I'm skeptical about your little script (though I too have a lot of heavy apps open all the time and almost never reboot, and certainly have never, ever had any memory-related problems whatsoever).
My MBP has 8 GBs of RAM, and this is what Activity Monitor tells me:
My MBP has 8 GBs of RAM, and this is what Activity Monitor tells me:
but, you scripts gives me: Why is that? Isn't Active kinda analogous to -o rss?