Difference between revisions of "Diablo: ULLtraDIMMM - CLI Overview"

From Define Wiki
Jump to navigation Jump to search
Line 26: Line 26:
 
| style="background: white; text-align: left;"| device
 
| style="background: white; text-align: left;"| device
 
| style="background: white; text-align: left;"| Manages or displays information about the ULLtraDIMM device
 
| style="background: white; text-align: left;"| Manages or displays information about the ULLtraDIMM device
| style="background: white; text-align: left;"| list<br><device_id><br>.   attach <group_name><br>.   commit <early, superearly (default) > <yes><br>.   maintenance<br>.   online<br>.   status<br>.   trim <on, off>
+
| style="background: white; text-align: left;"| list<br><device_id><br>....attach <group_name><br>....commit <early, superearly (default) > <yes><br>....maintenance<br>....online<br>....status<br>....trim <on, off>
 
|- style="vertical-align:top;"
 
|- style="vertical-align:top;"
 
| style="background: white; text-align: left;"| device-alias
 
| style="background: white; text-align: left;"| device-alias
 
| style="background: white; text-align: left;"| Manages a device alias
 
| style="background: white; text-align: left;"| Manages a device alias
| style="background: white; text-align: left;"| <device_id><br>.   get<br>.   set <alias_name>
+
| style="background: white; text-align: left;"| <device_id><br>....get<br>....set <alias_name>
 
+
|- style="vertical-align:top;"
 +
| style="background: white; text-align: left;"| device-defaults
 +
| style="background: white; text-align: left;"| Resets the device configuration to the default values
 +
| style="background: white; text-align: left;"| <device_id>
 +
|- style="vertical-align:top;"
 +
| style="background: white; text-align: left;"| device-diag
 +
| style="background: white; text-align: left;"| Executes diagnostic tests
 +
| style="background: white; text-align: left;"| <device_id> alarm state<br><device_id> list<br><device_id> run<br>....all (run all diagnostic tests)<br>....ecc_count (error correcting code test)<br>....fw_verify (firmware verification test)<br>....media_ro (media read only)<br>....media_wr (media write read compare)<br>....mem_wep (long WEP with multiple patterns)<br>....power_cap (power capacitor test) wep (short WEP test)
 +
|- style="vertical-align:top;"
 +
| style="background: white; text-align: left;"|
 +
| style="background: white; text-align: left;"|
 +
| style="background: white; text-align: left;"|
 +
|- style="vertical-align:top;"
 +
| style="background: white; text-align: left;"|
 +
| style="background: white; text-align: left;"|
 +
| style="background: white; text-align: left;"|
 +
|- style="vertical-align:top;"
 +
| style="background: white; text-align: left;"|
 +
| style="background: white; text-align: left;"|
 +
| style="background: white; text-align: left;"|
 
|}
 
|}

Revision as of 12:14, 23 May 2014

ULLtraDIMM CLI Structure

The structure of the ULLtraDIMM CLI command is:

    td-cli <global_option> <command> <--parameter> <value>


For example, to set the provisioning level for a device to 100 percent, type:

    td-cli device-format <device_id> --provision 100


  • Command parameters must be preceded by two dashes, as shown in the example above.
  • Options must be lower-case only, and multi-word options must be joined with a dash “–“, not an underscore “_”.
  • Regular output, including help, will be sent to stdout.
  • Errors and warnings will be sent to stderr.
  • Commands will exit with a value of 0 on success, and a non-zero exit code on any failure.

Global Options

The ULLtraDIMM CLI supports two global options:

    td-cli --verbose | -v enables more output (stackable)
    td-cli --help | -h displays the help

Overview of Commands

Command Description Parameters/Values
device Manages or displays information about the ULLtraDIMM device list
<device_id>
....attach <group_name>
....commit <early, superearly (default) > <yes>
....maintenance
....online
....status
....trim <on, off>
device-alias Manages a device alias <device_id>
....get
....set <alias_name>
device-defaults Resets the device configuration to the default values <device_id>
device-diag Executes diagnostic tests <device_id> alarm state
<device_id> list
<device_id> run
....all (run all diagnostic tests)
....ecc_count (error correcting code test)
....fw_verify (firmware verification test)
....media_ro (media read only)
....media_wr (media write read compare)
....mem_wep (long WEP with multiple patterns)
....power_cap (power capacitor test) wep (short WEP test)