(pulled in via reachover makefile) suitable for measuring the input to arbitrary pipes. This is intended for use by sysinst.