pm (ping machine) is just a fancy wrapper around ping.
Install the dependencies using the following commands, on Debian and NixOS systems, respectively:
sudo apt-get install -y curl sbcl cl-launch make git iputils-ping sox
nix-env -i curl sbcl cl-launch gnumake git iputils sox
Then, install pm:
sudo apt-get install -y build-essential curl sbcl cl-launch make git iputils-ping sox
mkdir -p ~/bin ~/common-lisp
case "$SH" in "zsh") SHRC="$HOME/.zshenv" ;; "bash") SHRC="$HOME/.bashrc" ;; *) SHRC="$HOME/.bashrc" ;; esac
echo 'export PATH=$PATH:$HOME/bin' >> "$SHRC";
source "$SHRC"; unset SH SHRC
git clone https://github.com/fare/asdf ~/common-lisp/asdf
git clone https://github.com/ebzzry/pm ~/common-lisp/pm
git clone https://github.com/didierverna/clon ~/common-lisp/clon
sbcl --noinform --eval "(progn (mapc #'ql:quickload '(:inferior-shell :net.didierverna.clon :cl-launch :fare-utils :cl-scripting)) (sb-ext:exit))"
make -C ~/common-lisp
pm --help
pm google.com
This utility is a fork of pelo, which, in turn was inspired by pell.