CLI Guide

Storage
Worknotes
Config
Updates
Audit
-b —The subcategory used to filter the records. Provides multiple subcategories using a "," as the delimiter.
-q—The sequence number from which the records must be displayed. Records older than this sequence
number is displayed.
NOTE: This parameter input is an integer. If an alphanumeric input is provided, then invalid
subcommand syntax error is displayed.
-n—Specifies the n number of records that must be displayed. On Local RACADM, if this parameter is not
specified, by default 100 logs are retrieved.
-r—Displays events that have occurred after this time. The time format is yyyy-mm-dd HH:MM:SS. The time
stamp must be provided within double quotation marks.
-e—Displays events that have occurred before this time. The time format is yyyy-mm-dd HH:MM:SS. The time
stamp must be provided within double quotation marks.
-f <filename>—Specifies the file location and name where lifecycle log is exported.
-a <name>—Specifies the FTP Server IP address or FQDN, user name, and password.
-l <location>—Specifies the location of the network share or area on file system where lifecycle log is
exported. Two types of network shares are supported:
SMB-mounted path: //<ipaddress or domain name>/<share_name>/<path to image>
NFS-mounted path: <ipaddress>:/<path to image>.
-u <user>—Specifies the user name for accessing the FTP server, or Domain and user name for accessing
network share location.
-p <password>—Specifies the password for accessing the FTP server or share location.
-s—The severity used to filter the records. Provide multiple severities using a "," as the delimiter. The value is
case-insensitive. Valid Severity values:
Warning
Critical
Info
—m <Comment> —User comment string for a record that must be inserted in the Lifecycle Controller log. This
comment string must be less than 128 characters. The text must be specified within double quotation mark.
NOTE:
HTML-specific characters may appear as escaped text.
-m <Worknote>—Adds a worknote (an entry) in the Lifecycle log. This worknote must be less than 256
characters. The text must be specified within double quotation mark.
NOTE:
HTML-specific characters may appear as escaped text.
NOTE: For -m <worknote> and —m <comment> options, you need test alert privilege.
--complete—Export the complete Lifecycle log as a compressed file. The exported file will be of the
type
.xml.gz.
-j<Job ID>—Specifies the Job ID.
Example
Display the number of records present in the Lifecycle log.
racadm lclog view -i
Display the records containing the string session
racadm lclog view -k session
Display the iDRAC agent idrac records, under the storage category and storage physical disk drive
subcategory, with severity set to warning.
racadm lclog view -a idrac -c storage -b pdr -s warning
90 RACADM Subcommand Details