From d0cfc05a1845b4d785e8c09c5c73044598dad965 Mon Sep 17 00:00:00 2001 From: Vikas Chaudhary Date: Thu, 16 Feb 2012 14:15:17 +0530 Subject: iscsi tools: update documents for ping command update README and man page for ping command. Signed-off-by: Vikas Chaudhary --- doc/iscsiadm.8 | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) (limited to 'doc') 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] @@ -40,6 +40,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. @@ -54,6 +80,12 @@ The host agrument specifies the SCSI host to use for the operation. It can be 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. -- cgit v1.2.1