1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 15:26:04 +02:00

rankmirrors: add page (#5217)

This commit is contained in:
Starbeamrainbowlabs 2021-02-03 00:27:49 +00:00 committed by GitHub
parent 1f1b4d9c66
commit 9920c058ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,25 @@
# rankmirrors
> Rank a list of Pacman mirrors by connection and opening speed.
> Writes the new mirrorlist to stdout.
> More information: <https://wiki.archlinux.org/index.php/mirrors>.
- 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}}`