forked from zenki2001cn/StudyNote
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapt-spy
More file actions
executable file
·41 lines (21 loc) · 1.32 KB
/
apt-spy
File metadata and controls
executable file
·41 lines (21 loc) · 1.32 KB
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
apt-spy 是一个管理安装媒体的程序,使用方法简单介绍一下:
使用方法: apt-spy [options]
选项:
-d distribution 选择 debian 的发行版本,例如 stable 。除升级外,必须使用此参数。
-a area 选择进行测试的区域,例如 Aisa 。
-c config 指定配置文件。
-e number 指定测试的服务器数量。
-f file 测试时抓取制定的文件(文件相对 debian base 的路径)。
-i file 指定输入的文件,配合 -w 参数使用。
-m mirror-list 指定要升级的镜像列表文件。
-o output-file 重定向输出到指定文件。
-p proxy 指定使用的代理服务器,需要遵从 [server]:[port] 的格式。
-s country_list 指定要进行测试的国家。不能和 -a 参数同时使用。
-t time 指定进行测试时每台服务器的超时时间,只能是正整数。
-u update-URL 从指定的 URL 获得镜像列表更新。
-w file 输出 -i 参数提供的服务器列表中速度最快的前几台镜像服务器(缺省是前 5 台)。
-n number 制定 -w 参数输出的服务器数量。
-v 输出版本信息。
-h 输出当前帮助信息
update 升级镜像站点列表。
USEAGE: apt-spy -t 60 -d testing -A Asia