linux文件传输的速度脚本
1.先挂在目标服务器的硬盘到本地
mount -t cifs -o username=administrator,pass=cucrzSAS\!\@\# //192.168.10.59:/awcr /sx_look_txt
2.挂在完成之后执行脚本传输测试速度
[root@hadoop-m test]# cat test.sh
#!/bin/bash
#test
date #开始时间
cat a.txt b.txt c.txt d.txt e.txt f.txt j.txt h.txt i.txt j.txt >> /sx_look_txt/test/c.txt ; date #结束时间
a.txt --- j.txt 是要传输的文件大小最好大点