SAR Tool Not Collecting Data As Expected
(Doc ID 2866685.1)
Last updated on MAY 09, 2022
Applies to:Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
Linux OS - Version Oracle Linux 6.0 to Oracle Linux 7.9 [Release OL6 to OL7U9]
Linux OS - Version Oracle Linux 6.0 with Unbreakable Enterprise Kernel [2.6.32] to Oracle Linux 7.9 with Unbreakable Enterprise Kernel [5.4.17] [Release OL6 to OL7U9]
SAR data is not available for the entire day (in Oracle Linux 7) or is corrupt in (Oracle Linux 6).
In Oracle Linux 6, full data corruption is observed:
# sar -u Invalid system activity file: /var/log/sa/sa13
In Oracle Linux 7, partial data is provided (data prior to the Scale-Up activity is not available):
# sar -u Linux 4.14.35-1902.306.2.10.el7uek.x86_64 (hostname) 02/13/19 _x86_64_ (6 CPU)
17:00:01 CPU %user %nice %system %iowait %steal %idle 17:10:01 all 0.20 0.00 0.14 0.00 0.00 99.66 (...)
Memory and CPU resources were hot-added to the system.
# journalctl -k | grep -i hot Feb 13 16:54:26 hostname kernel: CPU4 has been hot-added Feb 13 16:54:26 hostname kernel: Will online and init hotplugged CPU: 4 Feb 13 16:54:26 hostname kernel: CPU5 has been hot-added Feb 13 16:54:26 hostname kernel: Will online and init hotplugged CPU: 5
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document