]> granicus.if.org Git - sysstat/commit
sar: Use nanoseconds to distinguish between saDD and saYYYYMMDD
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 28 Apr 2019 10:00:10 +0000 (12:00 +0200)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sun, 28 Apr 2019 10:00:10 +0000 (12:00 +0200)
commit5a0868e53edb03b04a25b10f82b5363181fb978e
tree36675d56e44f17a20f55e30cbe0b01b2ef6029ff
parent70dc8737a35b3f36607f2b62ef2c55d24ef5967f
sar: Use nanoseconds to distinguish between saDD and saYYYYMMDD

When no input datafile is specified, sar uses the most recent file
between saDD and saYYYYMMDD. The comparison had a precision of a second,
which is quite enough for normal use. Yet I needed more precision for
use in simulation tests. So use now a precision of the nanosecond.

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