ftpstress - compare for data corruption
sh ftpstress.sh remote_machine
The ftpstress command sends files of different sizes from a local machine to a remote machine, back to the local machine, and compares for data corruption.
- remote_machine
- Either the host name or the IP address of the machine to which files and directories are copied. If a host name is given, it must appear in /etc/hosts along with the remote machine's IP address.
- RUNTIME
- Specifies, in seconds, the duration of the test.
- local_ftpdir
- Specifies the local directory to use for creating and copying files.
- remote_ftpdir
- Specifies the remote directory to use for creating and copying files.
You need two machines connected by a network, either back-to-back, or through a hub or switch.
Before the tests can run, ensure that the local machine can make anonymous ftp transfers to the remote machine. This is described in detail in the in.ftpd(1M) man page. Under HCTS, this is set up by the setup_anon_ftp.sh script at install time.
The test produces output that shows the progress of the test.
24 hours
This test can run concurrently with cl3se3, lsalr, mpflip, scp, and spray.
If several instances of ftpstress are running concurrently, ensure that the test directories are different for each instance.
This test requires at least 1.2 Gbytes on the local machine and 600 Mbytes on the remote host.
# local_ftpdir=/export/home/tmp # remote_ftpdir=incoming/ # RUNTIME=60 # ./ftpstress.sh cerberus240 Beginning ftpstress Running time: 60 seconds Creating fileset for transfer Initiating file transfer FTP succeeded: transmitted 568888832 bytes so far LOOPTIME: 614 !PASS: No errors detected in ftp
ftp(1), in.ftpd(1M), netstat(1M), hosts(4), netrc(4), rhosts(4)
Copyright 2005 Sun Microsystems, Inc. All rights reserved.