ONTAP Discussions
ONTAP Discussions
the following command is not working, so the "statistics show-periodic ..."
> statistics start
Error: "start" is not a recognized command
I tried both set d and set adv
Can somebody please advise?
it should work. Try '::*> statistics s' and hit the 'tab' key. It should show two options: 'start' and 'show'. Then try '::*> statistics st' and the 'tab' key
Hello!
Be aware of this:
Availability: This command is available to cluster and Vserver administrators at the advanced privilege level.
So first, change to advanced:
cluster1::> set -privilege advanced
Warning: These advanced commands are potentially dangerous; use them only when directed to do so by technical support.
Do you wish to continue? (y or n): y
cluster1::*>
The following example starts statistics collection for sample "smpl_1":
cluster1::*> statistics start -object system -sample-id smpl_1
Statistics collection is being started for Sample-id: smpl_1
Check its documentation for more information: link to 9.6 commands
Regards,
Pedro Rocha.
"I tried both set d and set adv"
Are you at the cluster shell? It should look like "Cluster::>" and if you are in diag it should be "Cluster::*>".
if he was on any shell other than the cluster shell, the error would be that 'statistics not found' and not 'start'
D'oh! Good point. O/P maybe we need to see a video of this?
Also does your user have rights to run the command (or are you logging in as admin)?