snaplock log file show
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
Display audit log file information.
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
Description
The snaplock log file show
command displays the following information about the log files:
-
Vserver name
-
Volume name
-
File path
-
Expiry time of the file
-
File size
Parameters
- {
[-fields <fieldname>,…]
-
If you specify the
-fields <fieldname>, …
parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify. - |
[-instance ]
} -
If you specify the
-instance
parameter, the command displays detailed information about all fields. [-vserver <vserver name>]
- Vserver Name-
If this parameter is specified, then log files in the Vserver that match the specified value is displayed.
[-base-name {privileged-delete | system | legal-hold}]
- Base Name of Log File-
If this parameter is specified, then the log files having a matching
-base-name
is displayed. [-volume <volume name>]
- Log Volume Name-
If this parameter is specified, then the log files in volumes that match the specified value are shown.
[-file-path <text>]
- Log File Path-
If this parameter is specified, then the log files that match the specified value are displayed.
[-expiry-time <text>]
- Log File Expiry Time-
If this parameter is specified, then the log files having a matching
-expiry-time
value are displayed. [-file-size {<integer>[KB|MB|GB|TB|PB]}]
- File Size-
If this parameter is specified, then the log files having a matching
-file-size
value are displayed.
Examples
cluster1::> snaplock log file show Vserver Volume Base Name File Path ----------------- ------------------- ------------------- -------------------- vs1 vol1 system /vol/vol1/snaplock_log/system_logs/20160120_183756_GMT-present
cluster1::> snaplock log file show -vserver vs1 -base-name system Vserver : vs1 Volume : vol1 Base Name : system File Path : /vol/vol1/snaplock_log/system_logs/20160120_183756_GMT-present Expiry Time : Wed Jul 20 18:37:56 GMT 2016 File Size : 560B