rankmirrors-arm sorts your Pacman mirrorlist using the rankmirrors utility on archlinuxarm systems.
Note: You need pacman-contrib package (https://archlinuxarm.org/packages/armv7h/pacman-contrib) installed to get the rankmirrors utility.
rankmirrors-arm.sh [-p | -g | -f MIRRORLIST] [-n | -m] [-o]
-o/--outputdo not overwrite pacman mirrorlist, only show generated mirrorlist
-p/--pacmanuse the current pacman mirrorlist-g/--getget the current mirrorlist from archlinuxarm's pacman-mirrorlist sources-f/--fileuse the specified MIRRORFILE
-n NUMnumber of servers to output, 0 for all-m/--max-time NUMspecify a ranking operation timeout, can be decimal number
PACMIRRORLISToverride pacman mirrorlist path (default: /etc/pacman.d/mirrorlist)
PACMIRRORLIST="/etc/pacman.d/local_mirrorlist" rankmirrors.sh- `rankmirrors.sh --pacman -n 6 --output