System Manager GUI (ontap 9.1) reports cluster-wide efficiency on its dashboard and I need to report this value to a 3rd party monitoring tool, but am having trouble finding how to calculate this value using DataONTAP Powershell plugin or OnTap CLI. Commands I've tried so far all calculate at the volume level but then I'm confused which values I should sum.
For my purposes I'll just average all volume efficieny percentages and morph the output into a similar ratio. The value doesn't quite match what System Mgr reports because it my calc doesn't take into account thin snapshot / clone space savings but it tells specifically space savings by Dedupe & Compress (I think). This powershell code seems to work:
Thanks Eugene. I'm using "get-NcEfficiency" from powershell and "volume efficiency show" from OnTap CLI. I've looked at aggr level or node level commands but none seem to include efficiency information. If I have to sum up logical and physical values at the volume level and calculate a ratio from there that is fine, but I'm not sure which values to use:
Vserver : san6001c_iscsi_1 Name : san6001c_ems_resource_exchange_1 Space Saved by Storage Efficiency : 16.1 TB Percentage Saved by Storage Efficiency : 178 Space Saved by Deduplication : 45.1 MB Percentage Saved by Deduplication : 0 Space Saved by Compression : 82.3 MB Percentage Space Saved by Compression : 0