Diablo: ULLtraDIMM - CLI Display Device Information

From Define Wiki
Revision as of 15:25, 23 May 2014 by Jon (talk | contribs)
Jump to navigation Jump to search

Device Information Commands

This section describes the commands that are used to obtain information about a device and the device attributes:

  • version
  • list devices
  • device status
  • device groups
  • device group status
  • firmware information
  • alias
  • block statistics

'version' - Display driver and CLI version

The version command is used to display the current version of the device driver and the CLI.

[root@mcs ~]# td-cli version
TeraDIMM CLI Version: 1.4.4.89
TeraDIMM LIB Version: 1.4.4.89
TeraDIMM Driver Version: "1.4.4.105"
Running on Linux

'device --list' - List devices

The list parameter of the device command is used to view a list of the devices (the device ids) in the system.

[root@mcs ~]# td-cli device --list
Device List:
tda
tdb
tdc
tdd

'device --status' - Display Device Status

The status parameter of the device command is used to view the status of a particular device in the system.

[root@mcs ~]# td-cli device tda --status
tda: 
    Product Number: SDLOOCAM-400G-6K51, SN: 01190000
    Device Alias: 
    UUID: 44C73BF7-89B6-E2BF-C797-6AB19EDA04E2
    Firmware Version: 1.4.4.70
    Backup Firmware: 1.4.4.70
    DIMM Slot: P2_DIMME2
    DIMM Address: 0x14A0000000, DIMM Size: 0x100000000
    DDR Speed: 1600, IRQ: 0
    DIMM Voltage: 1.5V
    Device Group: td-cpu-31
    Control Device: /dev/tda-ctrl
    Flash Status: Read/Write
    Percentage of Warranty Remaining: 100%
    Flash Temperature: 43.0 C, Max: 61.0 C
    Performance Status: Optimal (0%)
    Lifetime: 353 hours, 256 GB read, 2816 GB written
    Block Device: /dev/tda <ok>
    Block Size: 4096 bytes, Disk Size: 400099295232 bytes
    Stride: 4 kbytes
    Block Provisioning: 100%
    DRAM Protection Status: Protected
    TRIM : Disabled
    Predictive Failure Detected: FALSE
    Commit Mode: normal

'device-group --list' - List Device Groups

Processor affinity is set by attaching a device to a group. Device groups are used to ensure that devices are using specific CPUs. Each device must be in a device group.
The list parameter of the device-group command is used to list the device thread groups defined in the system.

[root@mcs ~]# td-cli device-group --list
Device Groups:
td-cpu-23
td-cpu-22
td-cpu-21
td-cpu-20
td-cpu-31
td-cpu-29
td-cpu-30
td-cpu-28

You can also list the device groups with the status for each group by using the global option --verbose or -v:

[root@mcs ~]# td-cli -v device-group --list
Device Groups:
Device Group Name:    td-cpu-23
CPU:                  23
Devices:              None

Device Group Name:    td-cpu-22
CPU:                  22
Devices:              None

Device Group Name:    td-cpu-21
CPU:                  21
Devices:              None

Device Group Name:    td-cpu-20
CPU:                  20
Devices:              None

Device Group Name:    td-cpu-31
CPU:                  31
Devices:              tda 

Device Group Name:    td-cpu-29
CPU:                  29
Devices:              tdc 

Device Group Name:    td-cpu-30
CPU:                  30
Devices:              tdb 

Device Group Name:    td-cpu-28
CPU:                  28
Devices:              tdd


=