Patch Name: PHKL_23901 Patch Description: s700_800 11.00 remove stopped threads from load averages Creation Date: 01/04/24 Post Date: 01/05/02 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP Automatic Reboot?: Yes Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHKL_23901 Symptoms: PHKL_23901: ( SR:8606185871 CR:JAGad55073 ) 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. Defect Description: PHKL_23901: ( SR:8606185871 CR:JAGad55073 ) 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. SR: 8606185871 Patch Files: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libhp-ux.a(vm_stats.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(vm_stats.o) what(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: /usr/conf/lib/libhp-ux.a(vm_stats.o): vm_stats.c $Date: 2001/04/24 11:10:56 $Revision: r11 ros/3 PATCH_11.00 (PHKL_23901) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: /usr/conf/lib/libhp-ux.a(vm_stats.o): vm_stats.c $Date: 2001/04/24 11:10:56 $Revision: r11 ros/3 PATCH_11.00 (PHKL_23901) cksum(1) Output: OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_32,v=HP: 2517548503 8392 /usr/conf/lib/libhp-ux.a(vm_stats.o) OS-Core.CORE2-KRN,fr=B.11.00,fa=HP-UX_B.11.00_64,v=HP: 3591371366 19272 /usr/conf/lib/libhp-ux.a(vm_stats.o) Patch Conflicts: None Patch Dependencies: s700: 11.00: PHKL_18543 s800: 11.00: PHKL_18543 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 60 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_23901 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHKL_23901.depot By default swinstall will archive the original software in /var/adm/sw/save/PHKL_23901. If you do not wish to retain a copy of the original software, include the patch_save_files option in the swinstall command above: -x patch_save_files=false WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHKL_23901.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHKL_23901.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHKL_23901.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: This patch depends on base patch PHKL_18543. For successful installation please insure that PHKL_18543 is already installed, or that PHKL_18543 is included in the same depot with this patch and PHKL_18543 is selected for installation.