Patch Name: PHKL_24174 Patch Description: s700 10.20 vmstat(1) cumulative patch, load averages Creation Date: 01/05/21 Post Date: 01/06/18 Hardware Platforms - OS Releases: s700: 10.20 Products: N/A Filesets: OS-Core.CORE-KRN Automatic Reboot?: Yes Status: General Release Critical: No Path Name: /hp-ux_patches/s700/10.X/PHKL_24174 Symptoms: PHKL_24174: (SR: 8606175138 CR: JAGad44382) When using performance tools such as sar, glance, and top, stopped threads can be included in load averages. This results in CPU usage appearing higher than it actually is when using such tools. PHKL_16300: vmstat -z would appear to work, but then the counts would reappear in a few seconds PHKL_8444: A vmstat -n shows a blocked process count higher than it is Defect Description: PHKL_24174: (SR: 8606175138 CR: JAGad44382) Stopped threads were incorrectly included in performance statistics due to the assumption that only sleeping threads can be non-signalable. Since it is possible for stopped threads to also be non-signalable, a statement that was intended to add sleeping threads to the performance statistics also included stopped threads. Resolution: Checks were added to prevent any stopped threads from being counted when calculating load averages. PHKL_16300: counts were being kept in two places, and would be read from the "other" location every 5 seconds PHKL_8444: A "!" was dropped in the if statement conditioning the ++ SR: 1653271932 5003326892 8606175138 Patch Files: /usr/conf/lib/libhp-ux.a(vm_stats.o) what(1) Output: /usr/conf/lib/libhp-ux.a(vm_stats.o): vm_stats.c $Date: 2001/05/21 15:19:14 $ $Revision: 1.5.98.10 $ PATCH_10.20 (PHKL_24174) cksum(1) Output: 3420499063 7752 /usr/conf/lib/libhp-ux.a(vm_stats.o) Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHKL_8444 PHKL_16300 Equivalent Patches: PHKL_24175: s800: 10.20 PHKL_23901: s700: 11.00 s800: 11.00 Patch Package Size: 70 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHKL_24174 5a. For a standalone system, run swinstall to install the patch: swinstall -x autoreboot=true -x match_target=true \ -s /tmp/PHKL_24174.depot By default swinstall will archive the original software in /var/adm/sw/patch/PHKL_24174. If you do not wish to retain a copy of the original software, you can create an empty file named /var/adm/sw/patch/PATCH_NOSAVE. WARNING: If this file exists when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. It is recommended that you move the PHKL_24174.text file to /var/adm/sw/patch for future reference. To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_24174.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None