Re: [PATCH] iscsi-target: show information about connected initiators at the TPG level

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Christophe,

> When a TPG is configured in demo mode (generate_node_acls=1), there is
> no way to retrieve the list of initiators that are connected to the
> target.

In the past I used these commands:

RTSOS:
grep iqn /proc/iscsi_target/mib/sess_attr

UPSTREAM:

for i in /sys/kernel/config/target/iscsi/iqn*/tpgt*/acls/*/info; do echo "${i}:"; cat "${i}"; echo; done

But having it in one place is probably nicer.

Cheers,
        Thomas
--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux