monitor: Add support for comparing logs in monitor-only mode

Signed-off-by: Mel Gorman <mgorman@suse.de>