No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference 10

OceanStor 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3 Storage System V300R003

"Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions."
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
show audit_strategy

show audit_strategy

Function

The show audit_strategy command is used to query audit log policies.

Format

show audit_strategy [ service_type=? ]

Parameters

Parameter

Description

Value

service_type=? Service type.

To obtain the value, run the "show audit_strategy" command without parameters.

Level

Guest

Usage Guidelines

  • Run the "show audit_strategy" command to query the audit log policies of all services.
  • Run the "show audit_strategy service_type=?" command to query the audit log policy of a specific service.

Example

  • Query the audit log policies of all services.

    admin:/>show audit_strategy
    Service Type  Audit Enabled  Single Logfile Size(MB)  Reserve Logfile Number(K)  File System ID  File System Name
    ------------  -------------  -----------------------  -------------------------  --------------  ----------------
    NAS           No             10                       10                         0               FileSystem0010000
  • Query the audit log policy of the NAS service.

    admin:/>show audit_strategy service_type=NAS
    Service Type : NAS
    Audit Enabled : Yes
    Single File Size(MB) : 10
    Reserve File Num(K): 10
    File System ID : 0
    File System Name : FileSystem0010000

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Service Type

Service type.

Audit Enabled

Audit switch.

Single File Size(MB)

Size of a single file.

Reserve File Num(K)

Maximum number of reserved files.

File System ID

File system ID.

File System Name

File system name.

Translation
Download
Updated: 2019-04-04

Document ID: EDOC1000084195

Views: 273390

Downloads: 1556

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next