$ usually -h
usage: usually <command> [args...]
Runs the command once, unchanged, and says how long it usually takes, from the runs you already made.
Everything it says goes to stderr. The command's input, output and exit code are left alone.
Log: /tmp/usually-edges/usually.log
normal is dead
$ for i in 1 2 3 4 5; do usually sh run.sh; done
No record. This is the first.
From 1 run on record: 3 seconds. Too few to call anything usual.
From 2 runs on record: 3 seconds, 3 seconds. Too few to call anything usual.
Every one of the 3 runs took about 3 seconds.

That was a usual one.
Took 3 seconds. The usual band is 2.7 seconds to 3.5 seconds: the middle half of 3 runs, plus a tenth of the median.
Every one of the 4 runs took about 3 seconds.

That was a usual one.
Took 3 seconds. The usual band is 2.7 seconds to 3.5 seconds: the middle half of 4 runs, plus a tenth of the median.
$ S=9 usually sh run.sh
Every one of the 5 runs took about 3 seconds.

That was not a usual one.
Took 9 seconds. The usual band is 2.7 seconds to 3.5 seconds: the middle half of 5 runs, plus a tenth of the median.
$ FAIL=1 usually sh run.sh; echo "exit status $?"
Usually about 3 seconds. Once took 3 seconds, once 9 seconds. From 6 runs.

Exit 3. Kept apart, not judged.
exit status 3
$ usually sh run.sh
Usually about 3 seconds. Once took 3 seconds, once 9 seconds. From 6 runs.

That was a usual one.
Took 3 seconds. The usual band is 2.7 seconds to 3.5 seconds: the middle half of 6 runs, plus a tenth of the median.
$ usually sleep 30
No record. This is the first.
^C
Exit 130. Kept apart, not judged.

$ echo "exit status $?"
exit status 130
$ export USUALLY_LOG=/tmp/usually-edges/loop.log
$ for i in 1 2 3; do usually sleep 30; done
No record. This is the first.
^C
Exit 130. Kept apart, not judged.

$ cat /tmp/usually-edges/loop.log
Observations. One line per run. Durations in seconds, measured, not estimated.
Runs that did not finish with exit 0 are kept apart and not judged.
2026-10-13 09:25. Twenty-five past nine in the morning. 2.533 seconds, exit 130. In /tmp/usually-edges  sleep 30