rrdtool[1] can be configured to "merge" measurements in various ways: by default, the pixel at (say) "4min" is an <i>average</i> of the measurements at (e.g.) 3:30, 3:40, ..., 4:20 [2], but it can also be configured to be the <i>maximum</i> (or minimum, or median) of these measurements.<p>[1] the database and graph software which underlies most (Unix?) server monitoring tools, including e.g. Munin and Cacti.<p>[2] Or the measurements at 4:00, ..., 4:50, or those at 3:10, ..., 4:00; I forgot, and it's not important.