scp - copy files from one machine to another
sh scp.sh remote_machine
These tests use the scp command to copy files from one machine to another. The tests terminate if any file becomes corrupted.
- remote_machine
- Either the host name or IP address of the machine to which files and directories are copied. If the host name is specified, it must appear in /etc/hosts along with the remote machine's IP address.
- RUNTIME
- This environment variable specifies, in seconds, the duration of the test.
You need two machines connected by a network, either back-to-back, or through a hub or switch.
Ensure that sufficient disk space is available on the remote machine for copying.
At the start of each iteration, the current time is output.
8 hours
You can run this test concurrently with lsalr, mpflip, cl3se3, ftpstress, and spray.
The scp test copies /kernel/unix on the local machine to /tmp on the remote machine.
# RUNTIME=30 # export RUNTIME # ./scp.sh dellboy240 Runtime: 30 seconds Changing local directory to /tmp Thursday March 2 13:52:21 GMT 2000 Thursday March 2 13:52:29 GMT 2000 Thursday March 2 13:52:37 GMT 2000 Thursday March 2 13:52:46 GMT 2000 !PASS: Completed 5 copies successfully
scp(1), ssh(1), hosts(4)
Copyright 2005 Sun Microsystems, Inc. All rights reserved.