1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-29 02:35:27 +02:00
tldr/pages/linux/rankmirrors.md

26 lines
659 B
Markdown
Raw Normal View History

2021-02-03 00:27:49 +00:00
# rankmirrors
> Rank a list of Pacman mirrors by connection and opening speed.
> Writes the new mirrorlist to `stdout`.
> More information: <https://manned.org/rankmirrors>.
2021-02-03 00:27:49 +00:00
- 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|--verbose]}} {{/etc/pacman.d/mirrorlist}}`
2021-02-03 00:27:49 +00:00
- Test only a specific URL:
`rankmirrors {{[-u|--url]}} {{url}}`
2021-02-03 00:27:49 +00:00
- Output only the response times instead of a full mirrorlist:
`rankmirrors {{[-t|--times]}} {{/etc/pacman.d/mirrorlist}}`