diff --git a/pages/linux/rankmirrors.md b/pages/linux/rankmirrors.md new file mode 100644 index 0000000000..cca8a3442a --- /dev/null +++ b/pages/linux/rankmirrors.md @@ -0,0 +1,25 @@ +# rankmirrors + +> Rank a list of Pacman mirrors by connection and opening speed. +> Writes the new mirrorlist to stdout. +> More information: . + +- Rank a mirror list: + +`rankmirrors {{/etc/pacman.d/mirrorlist}}` + +- Output only a given number of the top ranking servers: + +`rankmirrors -n {{number}} {{/etc/pacman.d/mirrorlist}}` + +- Be verbose when generating the mirrorlist: + +`rankmirrors -v {{/etc/pacman.d/mirrorlist}}` + +- Test only a specific URL: + +`rankmirrors --url {{url}}` + +- Output only the response times instead of a full mirrorlist: + +`rankmirrors --times {{/etc/pacman.d/mirrorlist}}`