What is to measure or to ascertain the contents or the capacity of, as of a pipe, barrel, or keg called?

gauge — To measure or to ascertain the contents or the capacity of, as of a pipe, barrel, or keg. (Webster's 1913.)

Sources