Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Automatically reclaim memory from leaky programs' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Automatically reclaim memory from leaky programs
Authored by: petersconsult on Apr 13, '12 06:40:54AM
Try this to get your memory stats:

top -l 1 | awk '/PhysMem/ {print "Wired: " $2 "; Active: " $4 "; Inactive: " $6 "; Used: " $8 "; Free: " $10}'

[ Reply to This | # ]