diff options
author | Vikas Chaudhary <vikas.chaudhary@qlogic.com> | 2012-02-16 14:15:17 +0530 |
---|---|---|
committer | Mike Christie <michaelc@cs.wisc.edu> | 2012-03-06 05:09:20 -0600 |
commit | d0cfc05a1845b4d785e8c09c5c73044598dad965 (patch) | |
tree | 4c85d9297d46ccfb5c654265f58aa0beaad59a62 /doc | |
parent | de3e77f4c432198502696790ff444d5b33f9d8ab (diff) | |
download | open-iscsi-d0cfc05a1845b4d785e8c09c5c73044598dad965.tar.gz |
iscsi tools: update documents for ping command
update README and man page for ping command.
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/iscsiadm.8 | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/doc/iscsiadm.8 b/doc/iscsiadm.8 index a036142..a5aeaa6 100644 --- a/doc/iscsiadm.8 +++ b/doc/iscsiadm.8 @@ -12,7 +12,7 @@ iscsiadm \- open-iscsi administration utility \fBiscsiadm\fR \-m session [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-r sessionid | sysfsdir [ \-R ] [ \-u | \-s | \-o new ] ] -\fBiscsiadm\fR \-m iface [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-I ifacename | \-H hostno|MAC ] [ [ \-o operation ] [ \-n name ] [ \-v value ] ] +\fBiscsiadm\fR \-m iface [ \-hV ] [ \-d debug_level ] [ \-P printlevel ] [ \-I ifacename | \-H hostno|MAC ] [ [ \-o operation ] [ \-n name ] [ \-v value ] ] [ \-C ping [ \-a ip ] [ \-b packetsize ] [ \-c count ] [ \-i interval ] ] \fBiscsiadm\fR \-m fw [\-l] @@ -41,6 +41,32 @@ daemon (iscsid) be running. .SH OPTIONS .TP +\fB\-a\fR, \fB\-\-ip=\fIipaddr\fP +\fIipaddr\fR can be IPv4 or IPv6. + +This option is only valid for ping submode. + +.TP +\fB\-b\fR, \fB\-\-packetsize=\fIpacketsize\fP +Specify the ping \fIpacketsize\fR. + +This option is only valid for ping submode. + +.TP +\fB\-c\fR, \fB\-\-count=\fIcount\fP +\fIcount\fR specify number of ping iterations. + +This option is only valid for ping submode. + +.TP +\fB\-C\fR, \fB\-\-submode=\fIop\fP +Specify the submode for mode. op must be name of submode. + +Currently iscsiadm support ping as submode for iface. For example, + +iscsiadm -m iface -I ifacename -C ping -a ipaddr -b packetsize -c count -i interval + +.TP \fB\-d\fR, \fB\-\-debug=\fIdebug_level\fP print debugging information. Valid values for debug_level are 0 to 8. @@ -55,6 +81,12 @@ the scsi host number assigned to the host by the kernel's scsi layer, or the MAC address of a scsi host. .TP +\fB\-i\fR, \fB\-\-interval=\fIinterval\fP +\fIinterval\fP specify delay between two ping iterations. + +This option is only valid for ping submode. + +.TP \fB\-I\fR, \fB\-\-interface=\fI[iface]\fR The interface argument specifies the iSCSI interface to use for the operation. iSCSI interfaces (iface) are defined in /etc/iscsi/ifaces. For hardware |