Справочник Пользователя для American Megatrends MAN-STOR-ITX27-CLI
Chapter Two: Command Set
11
Event log Commands
These commands display or clear the event log.
Command
Argument
Description
get eventlog
-s/--section {v/s/o/h}
-o/--offset <record-offset>
-n/--recordcount <record-count>
-i/--info
-f/--fatal
-w/--warning or
-a – all eventlog
-x/--xml
For example: get –s vs –o 2 –n 20 –f –w eventlog
-o/--offset <record-offset>
-n/--recordcount <record-count>
-i/--info
-f/--fatal
-w/--warning or
-a – all eventlog
-x/--xml
For example: get –s vs –o 2 –n 20 –f –w eventlog
Lists event log content matching
the given criteria.
v-Volume
s-System
o-OS
h-Health
the given criteria.
v-Volume
s-System
o-OS
h-Health
get eventlog
-c/--count
-s/--section {v/s/o/h}
-i/--info
-f/--fatal
-w/--warning or
-a/-- all eventlog
-x/--xml
For example: cli get -s vsoh -a -c eventlog
-s/--section {v/s/o/h}
-i/--info
-f/--fatal
-w/--warning or
-a/-- all eventlog
-x/--xml
For example: cli get -s vsoh -a -c eventlog
Gets the number of events reported.
clear eventlog
Clears the complete event log.