ONTAP 9.14.1 commands

system script start

Start logging all CLI I/O to session log

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

Description

The system script start command starts creating a record of your CLI session. The record is stored in a file. Use the system script show -this-sessionyes command to display files that are recording the current CLI session. Use the system script stop command to stop recording the current CLI session.

Parameters

-filename <text> - Filename to Log To

Use this parameter to specify the file name to which the CLI session record is saved.

-size-limit {<integer>[KB|MB|GB|TB|PB]} - Logfile Size Limit Max:2GB

Use this parameter to specify the maximum size of the file that contains the CLI session record. When the file size reaches this limit, recording stops. The default file size limit is 1 MB . The maximum file size limit is 2 GB .

Examples

The following example shows how to start creating a record of the CLI session in a file named sessionlog3 . The size limit of this file is 20 MB .

cluster1::> system script start -filename sessionlog3 -size-limit 20MB
Top of Page