Server Management Ver. 2.01 User Manual

Browsing SMS
3-2
3.1.2 Operation through Command Line Interface
In Linux, you can operate SMS through command line interface.
After installing SMS in Linux, users can manage the server by typing the relevant commands in the
software installation path "/usr/local/
Hewlett-Packard/sms/agent/".
Each command should start with "./smscli get(set)". The command with "get" means to acquire
information from the software, whereas "set" means to change the configuration of the software. For
example: "./smscli get sysinfo cpu" means to display the CPU information, and “./smscli set eventlog
clear” means to clear the SMS event log.
Commands List
Command
Classes
Usage Description
sysinfo
smscli get sysinfo [cpu] [memory]
[system] [storage] [nic] [cdrom]
[partition] [device] [chassis] [product]
[board]
Default: Get ALL
Some parameters "[chassis], [product], [board]" might
not acquire data on some models.
status
smscli get status < [nic] | [partition] |
[performance] > [interval=XX]
Default: No refresh. Interval scope: 10-30 (sec.).
Press Ctrl+C to stop refreshing.
sensor
smscli get sensor [type=xx |
number=xx] [interval=XX]
Default: No refresh. Interval scope: 10-30 (sec.).
Press Ctrl+C to stop refreshing.
Type: 1-temperature; 2-voltage; 3-fan.
Some parameters might not acquire data on some
models.
eventlog
smscli get eventlog records
smscli get eventlog records
[start=XX] [count=XX]
smscli get eventlog bmctime
smscli set eventlog bmctime XX
smscli get eventlog lastoccurtime
smscli set eventlog clear
smscli get eventlog count
Default: Get ALL. start scope: 1-65534.
count scope: 1-65534.
bmctime format: MM/DD/YYYY HH:MM, with yyyy
between 1970-2100.
lastoccurtime format: MM/DD/YYYY HH:MM, with
yyyy between 1970-2100.
Some parameters might not acquire data on some
models.