CLI Guide

Example
Display the name of Slot 3.
racadm getslotname -i 3
Display all slots names.
racadm getslotname
Check if Display Slot Name, Host Name, or iDRAC DNS name is active (0 = Slot Name, 1 = Host Name, 2 = iDRAC DNS name).
racadm getslotname -h
Display iDRAC DNS Name: 2
getslotname -h
<
Slot #
> <
Slot Name
> <
Host name
> <
iDRAC DNS Name
>
1 SLOT-ONEE
2 SLOT-02
3 SLOT-03
4 idrac
MN12G-1.tejas.com idrac
5 SLOT-05
6 idrac- WIN-
HP4N5G1EOCS idrac-
7 SLOT-07
8 SLOT-08
9 SLOT-09
10 SLOT-10
11 SLOT-11
12 SLOT-12
13 SLOT-13
14 SLOT-14
15 SLOT-15
16 SLOT-16
getssninfo
Table 84. Details of getssninfo attribute
Description
Displays a list of users that are connected to CMC. The following information is displayed:
Session ID
Username
IP address (if applicable)
Session type (for example, serial or Telnet)
Login date and time in MM/DD/YYYY HH:MM:SS format
NOTE: Based on the Session ID (SSNID) or the user name (User), the CMC administrator can
close the respective sessions or all the sessions using the closessn subcommand. For more
information, see closessn.
Synopsis
racadm getssninfo [-u <username> | -u *] [-A]
Input
-u — displays only sessions associated with a specific user.
-A — does not display headers or labels.
Table 85. Example
SSNID Type User IP Address Login Date/Time
58999 SSH root 192.168.0.10 04/07/2016 12:00:34
Display the details of sessions without header
64
RACADM Subcommand Details