.\" @(#) xfertest.1 .\" .TH XFERTEST 1 "15 Jul 1998" .AT 3 .SH NAME xfertest \- test samba transfer speed .SH SYNOPSIS .B xfertest [-sfrn -vd] host file .sp 0 .SH DESCRIPTION .I xfertest is used to test file-transfer speed of Samba's .IR smbclient (1) against .IR ftp , .I rcp and, indirectly, IR nfs. .PP The program copies a file to and from a host using one of the four protocols, and reports the protocol, whether it was get or put, the file size, time required and speed in KB/Sec, for the last five of six transfers. .PP It makes the transfers to and from the local /tmp filesystem in each case, to reduce local bias. .TP .B \-s means to use smbclient. .PP The host in this case is a Samba service or Microsoft share, specified as ///. The file will be obtained from the topmost directory of that service. The user's password will be requested, kept in memory berifly and then discarded. .TP .B \-d means to use ftp. .PP The host will be a machine-name, and the file will be obtained from the top directory of the user's account on that machine. The user's password will be requested, stored briefly in the user's .netrc, and then deleted. The .netrc will be restored after the run. .TP .B \-r means to use rcp. .PP The host will be a machine-name that the user can copy files to and from using rcp, and the file will be obtained from the top directory of the user's account on that machine. .TP .B \-n means to use nfs. .PP As nfs is only used indirectly, the test is done using cp. The file must be a file visible on the local machine, but actually residing on a remote nfs server. The host arguement is required, but only for reporting purposes: it's ignored. .TP .B \-v means be verbose .PP This option produces extra information on stderr, so the user can see what's happening. The report is still produced on stdout, and can be redirected to a file whcih will not contain any of the other information. .PP .TP .B \-d turns on debugging. .PP This produces much more information, including all lines sent by the copy/timing program. These all begin with a "#" character, and may appear on either stderr, stdout or both, depending on the program. .SH FILES .sp 0 .SH "SEE ALSO" .IR nfs, .IR rcp (1), smbclient (1). .SH BUGS .SH DIAGNOSTICS .SH COMPATIBILITY .SH CHANGES .SH ACKNOWLEDGMENTS .SH AUTHOR