yeah if you are not in adv or diag, it just says the command is not recognized. e.g.

pd-san2::> statistics show-periodic

Error: "show-periodic" is not a recognized command

for whatever reason, it was just acting wonky on this cluster the other day, but works fine now.  strange.



On Fri, Oct 22, 2021 at 5:35 PM Tim McCarthy <tmacmd@gmail.com> wrote:
If it is not working, make sure you are in advanced mode (prob set advanced)

From: Toasters <toasters-bounces@teaparty.net> on behalf of Mike Thompson <mike.thompson@gmail.com>
Sent: Friday, October 22, 2021 8:29:18 PM
To: Steve Kirk <steve.kirk@sheffield.ac.uk>
Cc: toasters@teaparty.net Lists <toasters@teaparty.net>
Subject: Re: statistics show-periodic
 
and for completeness, the actual command I was originally having issues with, works as well now:

pd-san2::*> statistics show-periodic -counter total-recv|total-sent|data-recv|data-sent|cluster-recv|cluster-sent|cluster-busy
pd-san2: cluster.cluster: 10/22/2021 17:27:55
    total    total     data     data cluster  cluster  cluster
     recv     sent     recv     sent    busy     recv     sent
 -------- -------- -------- -------- ------- -------- --------
   75.9KB   24.0KB   50.1KB   1.37KB      0%   22.6KB   22.6KB
    282KB   28.6KB    258KB   7.21KB      0%   21.4KB   21.4KB
    479KB    146KB    339KB   8.82KB      0%    137KB    137KB
pd-san2: cluster.cluster: 10/22/2021 17:28:02
    total    total     data     data cluster  cluster  cluster
     recv     sent     recv     sent    busy     recv     sent
 -------- -------- -------- -------- ------- -------- --------
Minimums:
   75.9KB   24.0KB   50.1KB   1.37KB      0%   21.4KB   21.4KB
Averages for 3 samples:
    279KB   66.3KB    216KB   5.80KB      0%   60.5KB   60.5KB
Maximums:
    479KB    146KB    339KB   8.82KB      0%    137KB    137KB

I dunno.  at least it works now though!


On Fri, Oct 22, 2021 at 5:27 PM Mike Thompson <mike.thompson@gmail.com> wrote:
I tried this again today, and now it magically works.

pd-san2::*> statistics show-periodic
pd-san2: cluster.cluster: 10/22/2021 17:25:57
  cpu  cpu    total                     fcache    total    total data     data     data cluster  cluster  cluster     disk     disk     pkts     pkts
  avg busy      ops  nfs-ops cifs-ops      ops     recv     sent busy     recv     sent    busy     recv     sent     read    write     recv     sent
 ---- ---- -------- -------- -------- -------- -------- -------- ---- -------- -------- ------- -------- -------- -------- -------- -------- --------
   0%   1%       13       13        0        0   71.5KB   17.9KB   0%   52.7KB   2.25KB      0%   15.9KB   15.5KB   3.98KB    825KB      218      131
   1%   2%        7        7        0        0    294KB    246KB   0%   47.2KB   2.16KB      0%    244KB    244KB   3.69MB   3.23MB      233      156
   0%   1%        0        0        0        0   45.7KB   39.2KB   0%   3.03KB      65B      0%   40.0KB   39.1KB   11.9KB       0B      267      200

I dunno.  Maybe the filer was having a bad day earlier


On Fri, Oct 22, 2021 at 5:56 AM Steve Kirk <steve.kirk@sheffield.ac.uk> wrote:
Afternoon,

On Fri, 2021-10-22 at 13:03 +0200, Sebastian Goetze wrote:
> Seems to work fine on 9.7P11. Maybe a more recent change?

Also works fine for me on 9.7P12 on FAS8200. Could it be hardware
platform related?

The man page indicates the command is deprecated so perhaps isn't
getting updated:

>      Note:         This command has been deprecated and may be removed
> from a future version of Data ONTAP. Use the "statistics show"
>                    command with the tabular format instead.
>

Cheers,
Steve

_______________________________________________
Toasters mailing list
Toasters@teaparty.net
https://www.teaparty.net/mailman/listinfo/toasters