Updated for SmartOS to get the memory usage stats for the current zone not the global zone