Use the lsportusb command to display information about Universal Serial Bus (USB) ports.
This command displays information about Universal Serial Bus (USB) ports.
Attribute | Possible Values |
---|---|
id | Indicates the unique ID of the USB port in the system. This ID is the usb_port_id. The value is a numeric 0 or greater. |
node_id | Indicates the ID of the node where the USB port is. The value is a numeric string. |
node_name | Indicates the name of the node where the USB port is. The value is an alphanumeric string. |
node_side | Indicates the side of the node where the USB port is. The values are front and rear. |
port_id | Indicates the ID of the USB port on the node side. The value is a numeric 1 or greater. |
status | Indicates the status of the USB port. The values
are:
|
service_state | Indicates the USB command status. The values
are:
|
lsportusb
The resulting output:
id:node_id:node_name:node_side:port_id:status:service_state 0:1:node1:rear:1:inactive 1:1:node1:rear:2:active:validated:complete 2:2:node2:rear:1:active::complete 3:2:node2:rear:2:active:wrong_system:complete
lsportusb 3
The resulting output:
id 3 node_id 2 node_name node2 node_side rear port_id 2 status active service_state complete