Listing iSCSI Sessions
You can use esxcli iscsi session to list sessions.
The following example scenario
uses the available commands. Run
esxcli iscsi session --help
and each command with
--help
for reference information. The example uses a
configuration file to log in to the host. Specify one of the options listed in
Connection Options for ESXCLI Host Management Commands
in place of
<conn_options>
.
- List a software iSCSI
session at the adapter level.
esxcli <conn_options> iscsi session list --adapter=<iscsi_adapter>
- List a software iSCSI
session at the target level.
esxcli <conn_options> iscsi session list --name=<target> --adapter=<iscsi_adapter>