scp_6 - copy files from one machine to another on IPv6
ksh scp_6.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.
The RUNTIME environment variable specifies, in seconds, the duration of the test.
- remote_machine
- Either the host name or IPv6 address of the machine to which files and directories are copied. If the host name is specified, it must appear in /etc/inet/ipnodes along with the remote machine's IPv6 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.
24 hours
You can run this test concurrently with lsalr_6, mpflip, cl3se3_6, ftpstress_6, and spray_6.
The scp test copies /kernel/unix on the local machine to /tmp on the remote machine.
# RUNTIME=30 # export RUNTIME # ./scp_6.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 on IPv6
scp(1), ssh(1), hosts(4)
Copyright 2005 Sun Microsystems, Inc. All rights reserved.