Historic values are sometimes quite useful to have an overview what’s happened in the past on your system, but quite often it’s only something you have to remove for analysis as those values may skew any statistics your are doing on them. vmstat
is one of the commands with a first output line containing historical data with limited value.
In a SRU of Solaris 11.4 got a new option to supress this first line. The default is still to print it as scripts may depend on the existence of this line of output), but with the -Q
option vmstat
won’t print it any longer.
Without the option, you will recognize that the first line doesn’t really represent the current state of things which is more closely represented by the second line.
With -Q
both lines contain a much closer respresentation.