Skip to main content
A newer release of this product is available.

statistics preset delete

Contributors
Suggest changes

Delete an existing Performance Preset

Availability: This command is available to cluster administrators at the advanced privilege level.

Description

Deletes a performance preset configuration and all of its associated details.

Parameters

-preset <text> - Preset Name (privilege: advanced)

Specifies the name of the performance presets that you want to delete.

Examples

cluster1::*> statistics preset show
       Preset Name: asup-event
       Preset UUID: 55c03699-01db-11e2-8e3e-123478563412
           Comment: The event-based AutoSupport Data ONTAP Performance Archive
                    preset configuration. This preset configuration is used
                    whenever an event-based AutoSupport is triggered.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: false
     Generation ID: 0
Preset Name: asup-hourly
       Preset UUID: 56178a2a-01db-11e2-8e3e-123478563412
           Comment: The hourly AutoSupport Data ONTAP Performance Archive
                    preset configuration. This preset configuration is used by
                    the hourly AutoSupport collection events.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: true
     Generation ID: 0
Preset Name: default
       Preset UUID: 55ac6297-01db-11e2-8e3e-123478563412
           Comment: The default Data ONTAP Performance Archive preset
                    configuration. This preset configuration includes
                    essential counters to assist in general troubleshooting of
                    system performance.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: true
     Generation ID: 0
Preset Name: diagnostic
       Preset UUID: 561db291-01db-11e2-8e3e-123478563412
           Comment: The diagnostic Data ONTAP Performance Archive preset
                    configuration. This preset configuration includes more
                    counters at faster sample periods than the default
                    configuration to assist in troubleshooting abnormal
                    system performance.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: false
     Generation ID: 0
Preset Name: foo
       Preset UUID: 7a04f19d-02a7-11e2-8e40-123478563412
           Comment: Test preset
         Privilege: diagnostic
         Read-Only: false
   Archive Enabled: false
     Generation ID: 0

5 entries were displayed.

cluster1::*> statistics preset delete -preset foo

cluster1::*> statistics preset show
       Preset Name: asup-event
       Preset UUID: 55c03699-01db-11e2-8e3e-123478563412
           Comment: The event-based AutoSupport Data ONTAP Performance Archive
                    preset configuration. This preset configuration is used
                    whenever an event-based AutoSupport is triggered.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: false
     Generation ID: 0
Preset Name: asup-hourly
       Preset UUID: 56178a2a-01db-11e2-8e3e-123478563412
           Comment: The hourly AutoSupport Data ONTAP Performance Archive
                    preset configuration. This preset configuration is used by
                    the hourly AutoSupport collection events.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: true
     Generation ID: 0
Preset Name: default
       Preset UUID: 55ac6297-01db-11e2-8e3e-123478563412
           Comment: The default Data ONTAP Performance Archive preset
                    configuration. This preset configuration includes
                    essential counters to assist in general troubleshooting of
                    system performance.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: true
     Generation ID: 0
Preset Name: diagnostic
       Preset UUID: 561db291-01db-11e2-8e3e-123478563412
           Comment: The diagnostic Data ONTAP Performance Archive preset
                    configuration. This preset configuration includes more
                    counters at faster sample periods than the default
                    configuration to assist in troubleshooting abnormal
                    system performance.
         Privilege: diagnostic
         Read-Only: true
   Archive Enabled: false
     Generation ID: 0

4 entries were displayed.