]> granicus.if.org Git - sysstat/commit
mpstat : add -H option to handle vCPU physical hotplug
authorShaleen Bathla <shaleen.bathla@oracle.com>
Tue, 4 Oct 2022 07:09:02 +0000 (12:39 +0530)
committerShaleen Bathla <shaleen.bathla@oracle.com>
Wed, 5 Oct 2022 07:03:17 +0000 (12:33 +0530)
commitee4466c7fcf9bba0e9435fe75237618a4c7658a2
tree746438ca63646b50577cbb9bfbfd0d78d6b5eff7
parent99b43db66337131b30b6e9be2967073dda4787b7
mpstat : add -H option to handle vCPU physical hotplug

For virtualized environments, physical CPU hotplug can occur.
OR to be more precise vCPU physical hotplug can occur.

Currently, mpstat does not detect physical hotplug when running with an interval.
Example : mpstat -P ALL 5
When -H option is given, display stats of physically hotplugged vCPU also.
Example : mpstat -H -P ALL 5

This is done only when -H option is provided to remain legacy compatible.

Also updated the man page describing the new option.

Signed-off-by: Shaleen Bathla <shaleen.bathla@oracle.com>
man/mpstat.1
mpstat.c
mpstat.h