CLI Guide

getslotname
Description
Displays the name, host name, and iDRAC DNS name of all the four slots, or of a specied slot
(indicated by the slot number) in the chassis. Optionally, use this command to nd if the slot name or
host name, or iDRAC DNS name is displayed in the CMC web interface, or with the getslotname [-i
<slotNum> | -h] command. If the host name is not available, the static slot name is used.
NOTE: Lengthy slot names, host names, or iDRAC DNS names are truncated when the slot
names are displayed.
To use this subcommand, you must have CMC Login User privilege.
Synopsis
racadm getslotname
racadm getslotname [-i <slotNum> | -h]
racadm getslotname -h
Input
None -
Displays the slot name for all the four slots in the chassis.
-i < slotNum > - species the slot number.
Values: 1 to 4
-h - Species whether to display the slot name, iDRAC DNS name, or the host name (if available).
The values are:
0 — Displays the slot name
1 — Displays the host name instead of the slot name
2 — Displays the iDRAC DNS name instead of the slot name
Example
Display all slots names.
racadm getslotname
<Slot #> <Slot Name> <Host name> <iDRAC DNS Name>
1 SLOT-01
2 Webserver01 WXP-8GRB221
3 Webserver3 WXP-319QWEecet5
4 SLOT-04
Display the name of the third slot.
racadm getslotname -i 3
Verify if the option ‘0’ is set for displaying the slot name.
Verify if the option ‘1’ is set for displaying the host name.
Verify if the option ‘2’ is set for displaying the iDRAC DNS name.
getsensorinfo
Description
Displays status of chassis sensors.
NOTE: To use this subcommand, you must have CMC Login User privilege.
Synopsis
racadm getsensorinfo
Examples racadm getsensorinfo
Sensor Type : Voltage
<Sensor Name> <Status> <Reading> <LC> UC
CPU1 VCORE PG OK 0 600 N/A
RACADM Subcommand Details 51