system script show
Display saved CLI session logs
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The system script show command displays information about files that contain records of CLI sessions.
For security reasons, the command normally displays only the script files created by the logged in user. Administrative users can display all log files using the -user parameter.
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.
- | [-user ]
- Use this parameter to display all script files created by all users, along with the username associated with each file.
- | [-instance ]}
- If you specify the -instance parameter, the command displays detailed information about all fields.
- [-username <text>] - Log Owner Username
- Use this parameter to display information only about files saved by the user you specify. The default username is that of the logged in user.
- [-filename <text>] - Log Filename
- Use this parameter to display information only about files that have the file name you specify.
- [-size-limit {<integer>[KB|MB|GB|TB|PB]}] - Logfile Size Limit
- Use this parameter to display information only about files that have the size limit you specify.
- [-state <State of CLI session log>] - Current State
- Use this parameter to display information only about files that have the state you specify. Valid values for this parameter are open-and-logging, file-full, and file-closed.
- [-size {<integer>[KB|MB|GB|TB|PB]}] - Current Logfile Size
- Use this parameter to display information only about files that are the size you specify.
- [-mtime <MM/DD/YYYY HH:MM:SS>] - Last Modification Time
- Use this parameter to display information only about files that were last modified at the date and time you specify.
- [-this-session {yes|no}] - Session is Logging
- Use this parameter with the value yes to display information only about files that are recording the current CLI session. Use this parameter with the value no to display information only about files that are not recording the current CLI session.
Examples
The following example displays typical system script information.
cluster1::> system script show
This
FileName Sess State Size Last Mod Date
------------------- ---- ---------------- ------- ------------------
sessionlog1 no file-closed 435B 12/2/2008 10:51:12
sessionlog2 yes open-and-logging 193B 12/2/2008 10:51:29
2 entries were displayed.
Give documentation feedback