Is this what you are looking for?
storage is the volume name. I checked this with 9.1P1.
::> set d
::*> statistics show-periodic -object volume -instance storage -counter total_ops -raw -iterations 1
Powershell:
PS H:\> (Get-NcPerfData -Name volume -Instance storage -Counter total_ops).counters.value
1403324
From: toasters-bounces@teaparty.net [mailto:toasters-bounces@
teaparty.net ] On Behalf Of Mike Thompson
Sent: Monday, April 17, 2017 1:58 AM
To: toasters@teaparty.net Lists <toasters@teaparty.net>
Subject: cluster mode volume stats since boot
any way to get volume stats (reads/writes/ops/etc) since system boot or volume move, in cdot 8.2 and above?
I used to track all that stuff in a database in the early 8.x days, via 'statistics show -object volume', but that disappeared in 8.2 (or maybe it was 8.1, not sure)
looks like you can only display real time volume stats in more recent ontap releases via cli.
I used to collect this info hourly, stuff it in a db, and then diff it over time to display activity per-volume, which would tell us if a volume was busy or not, and what type of traffic it was getting, over time.
that info is sorely missed from some of our applications, and hence I'm looking for per-volume accumulators.
looks like i can get nfs/cifs ops per qtree still, but what i really want is reads and writes (and anything else) per volume. same numbers for aggregates would be useful as well.
any ideas?