vps 网络测试工具 net-test.sh Network Tests tools

http://soft.www.com.ht/net-test.sh

1
wget http://soft.www.com.ht/net-test.sh -O - -o /dev/null|bash
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
echo "Linode, Atlanta, GA"
wget -O /dev/null http://atlanta1.linode.com/100MB-atlanta.bin
echo "Linode, Dallas, TX"
wget -O /dev/null http://dallas1.linode.com/100MB-dallas.bin
echo "Linode, Tokyo, JP"
wget -O /dev/null http://tokyo1.linode.com/100MB-tokyo.bin
echo "Linode, London, UK"
wget -O /dev/null http://london1.linode.com/100MB-london.bin
echo "CacheFly"
wget -O /dev/null http://cachefly.cachefly.net/100mb.test
echo "QuadraNet, Los Angles, CA"
wget -O /dev/null http://www.quadranet.com/speedtests/100mb.bin
echo "Softlayer, San Jose, CA"
wget -O /dev/null http://speedtest.sjc01.softlayer.com/downloads/test100.zip
echo "Softlayer, Washington, DC"
wget -O /dev/null http://speedtest.wdc01.softlayer.com/downloads/test100.zip
echo "Softlayer, Singapore"
wget -O /dev/null http://speedtest.sng01.softlayer.com/downloads/test100.zip
echo "Softlayer, Seattle, WA"
wget -O /dev/null http://speedtest.sea01.softlayer.com/downloads/test100.zip


Network Tests:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[root@server ~]# wget http://soft.www.com.ht/net-test.sh -O - -o /dev/null|bash
Linode, Atlanta, GA
--2011-12-28 01:27:03--  http://atlanta1.linode.com/100MB-atlanta.bin
正在解析主机 atlanta1.linode.com... 63.247.71.196
Connecting to atlanta1.linode.com|63.247.71.196|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:104857600 (100M) [application/octet-stream]
Saving to: `/dev/null'
 
100%[=====================================================================>] 104,857,600 5.74M/s   in 17s
 
2011-12-28 01:27:20 (5.94 MB/s) - `/dev/null' saved [104857600/104857600]
 
Linode, Dallas, TX
--2011-12-28 01:27:20--  http://dallas1.linode.com/100MB-dallas.bin
正在解析主机 dallas1.linode.com... 69.164.200.100
Connecting to dallas1.linode.com|69.164.200.100|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:104857600 (100M) [application/octet-stream]
Saving to: `/dev/null'
 
100%[=====================================================================>] 104,857,600 8.01M/s   in 13s
 
2011-12-28 01:27:33 (7.99 MB/s) - `/dev/null' saved [104857600/104857600]
 
Linode, Tokyo, JP
--2011-12-28 01:27:33--  http://tokyo1.linode.com/100MB-tokyo.bin
正在解析主机 tokyo1.linode.com... 106.187.33.12
Connecting to tokyo1.linode.com|106.187.33.12|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:104857600 (100M) [application/octet-stream]
Saving to: `/dev/null'
 
100%[=====================================================================>] 104,857,600 14.2M/s   in 14s
 
2011-12-28 01:27:47 (7.21 MB/s) - `/dev/null' saved [104857600/104857600]
 
Linode, London, UK
--2011-12-28 01:27:47--  http://london1.linode.com/100MB-london.bin
正在解析主机 london1.linode.com... 109.74.207.9
Connecting to london1.linode.com|109.74.207.9|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:104857600 (100M) [application/octet-stream]
Saving to: `/dev/null'
 
100%[=====================================================================>] 104,857,600 9.64M/s   in 14s
 
2011-12-28 01:28:01 (7.38 MB/s) - `/dev/null' saved [104857600/104857600]
 
CacheFly
--2011-12-28 01:28:01--  http://cachefly.cachefly.net/100mb.test
正在解析主机 cachefly.cachefly.net... 205.234.175.175
Connecting to cachefly.cachefly.net|205.234.175.175|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:104857600 (100M) [application/octet-stream]
Saving to: `/dev/null'
 
100%[=====================================================================>] 104,857,600 31.0M/s   in 3.4s
 
2011-12-28 01:28:05 (29.4 MB/s) - `/dev/null' saved [104857600/104857600]
 
QuadraNet, Los Angles, CA
--2011-12-28 01:28:05--  http://www.quadranet.com/speedtests/100mb.bin
正在解析主机 www.quadranet.com... 98.143.159.202
Connecting to www.quadranet.com|98.143.159.202|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:105472000 (101M) [application/octet-stream]
Saving to: `/dev/null'
 
100%[=====================================================================>] 105,472,000 8.09M/s   in 18s
 
2011-12-28 01:28:22 (5.71 MB/s) - `/dev/null' saved [105472000/105472000]
 
Softlayer, San Jose, CA
--2011-12-28 01:28:22--  http://speedtest.sjc01.softlayer.com/downloads/test100.zip
正在解析主机 speedtest.sjc01.softlayer.com... 50.23.64.58
Connecting to speedtest.sjc01.softlayer.com|50.23.64.58|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:104874307 (100M) [application/zip]
Saving to: `/dev/null'
 
100%[=====================================================================>] 104,874,307 35.0M/s   in 2.9s
 
2011-12-28 01:28:25 (35.0 MB/s) - `/dev/null' saved [104874307/104874307]
 
Softlayer, Washington, DC
--2011-12-28 01:28:25--  http://speedtest.wdc01.softlayer.com/downloads/test100.zip
正在解析主机 speedtest.wdc01.softlayer.com... 208.43.102.250
Connecting to speedtest.wdc01.softlayer.com|208.43.102.250|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:104874307 (100M) [application/zip]
Saving to: `/dev/null'
 
100%[=====================================================================>] 104,874,307 36.1M/s   in 2.8s
 
2011-12-28 01:28:29 (36.1 MB/s) - `/dev/null' saved [104874307/104874307]
 
Softlayer, Singapore
--2011-12-28 01:28:29--  http://speedtest.sng01.softlayer.com/downloads/test100.zip
正在解析主机 speedtest.sng01.softlayer.com... 216.12.196.114
Connecting to speedtest.sng01.softlayer.com|216.12.196.114|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:104874307 (100M) [application/zip]
Saving to: `/dev/null'
 
100%[=====================================================================>] 104,874,307 12.2M/s   in 12s
 
2011-12-28 01:28:41 (8.34 MB/s) - `/dev/null' saved [104874307/104874307]
 
Softlayer, Seattle, WA
--2011-12-28 01:28:41--  http://speedtest.sea01.softlayer.com/downloads/test100.zip
正在解析主机 speedtest.sea01.softlayer.com... 67.228.112.250
Connecting to speedtest.sea01.softlayer.com|67.228.112.250|:80... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:104874307 (100M) [application/zip]
Saving to: `/dev/null'
 
100%[=====================================================================>] 104,874,307 28.0M/s   in 4.6s
 
2011-12-28 01:28:46 (21.6 MB/s) - `/dev/null' saved [104874307/104874307]
 
[root@server ~]#

Disk IO 命令

1
dd if=/dev/zero of=test bs=16k count=64k conv=fdatasync;rm -f test

结果:

1
2
3
4
[root@server ~]# dd if=/dev/zero of=test bs=16k count=64k conv=fdatasync;rm -f test
65536+0 records in
65536+0 records out
1073741824 bytes (1.1 GB) copied, 43.491 seconds, 24.7 MB/s

发表留言

人生在世,错别字在所难免,无需纠正。