]> granicus.if.org Git - sysstat/commit
Fix incomplete sar output when end time crosses 24H boundary
authorSebastien GODARD <sysstat@users.noreply.github.com>
Thu, 4 Sep 2014 11:12:58 +0000 (13:12 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Thu, 4 Sep 2014 11:24:54 +0000 (13:24 +0200)
commit19b5020472ccde9a0bcd3a1e015fa768fedf8368
tree5beb38b8a61d441d83924d40209b48f4eeed9cc6
parentf67d40e6f5a6ed8351aafde999ee33a9731c81e6
Fix incomplete sar output when end time crosses 24H boundary

sar output was incomplete when used with a file containing data
from two consecutive days and end time crossed 24 hour boundary.
A typical invocation like:

sar -A -s 21:50:00 -e 01:30:00 -f /path/to/datafile

resulted in CPU statistics being displayed only.

This patch fixes the problem and all selected activities are now
displayed.

Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
sar.c