]> granicus.if.org Git - sysstat/commit
sar: Take into account a change of CPU number in sar datafile (2)
authorSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 1 Feb 2014 16:37:56 +0000 (17:37 +0100)
committerSebastien GODARD <sysstat@users.noreply.github.com>
Sat, 1 Feb 2014 16:37:56 +0000 (17:37 +0100)
commitcd31adf53381b6fa88b145a7e608bc83f0f454b4
treede0e5f92c99cba855d5b494f01c82d15a2c16eef
parent8a2b558892353ff1fdcc70be187106837aeea882
sar: Take into account a change of CPU number in sar datafile (2)

sadc now accepts a change of CPU count when inserting a restart mark. In
this case, sadc sets the new value in file's header (last_cpu_nr field)
then rewrites it.
The new number of CPU is also written after the restart mark record in
file.

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