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 is the usb_port_id shown in the syntax above. 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:
|
encryption_state | Indicates the encryption status of the USB device
attached to the port. The values are:
|
encryption_filename | Indicates the name of the file in the rot directory of the USB device to which the encryption state relates. The file name can contain up to 110 characters. |
service_state | Indicates the USB command status. The values
are:
|
lsportusb
The resulting output:
id:node_id:node_name:node_side:port_id:status:encryption_state:encryption_filename: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
encryption_state wrong_system
encryption_filename encryption_key_filename_BadSystem
service_state complete