Patch Name: PHCO_26026 Patch Description: s700_800 11.11 uptime(1) cumulative patch Creation Date: 02/02/27 Post Date: 02/03/01 Hardware Platforms - OS Releases: s700: 11.11 s800: 11.11 Products: N/A Filesets: OS-Core.CAUX-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP OS-Core.CMDS-AUX,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_26026 Symptoms: PHCO_26026: ( SR:8606238434 CR:JAGae07458 ) uptime -p " " displays info about processor set 0 multiple times ( SR:8606203309 CR:JAGad72483 ) "w" or "uptime -w" command is reporting a '-' instead of command name for the what field. PHCO_24475: ( SR:8606198645 CR:JAGad67834 ) This patch is a member of a set of patches needed to enable the HP-UX Processor Sets product (PROCSETS). When PROCSETS product is installed, it will install the full set of required patches for that product, including this patch. If the HP-UX Processor Sets product is not installed, this change will have no impact on your system. Defect Description: PHCO_26026: ( SR:8606238434 CR:JAGae07458 ) "uptime -p" on a HP-UX system supporting processor sets capability, displays info about processor set 0 multiple times, when a set of blanks are given as argument list or the list starts with a "," Eg1:: tek260-3::/mnt/vts > uptime -p " " 6:39pm up 13 days, 6:53, 11 users load average for pset 0 : 1.80, 1.28, 1.06 load average for pset 0 : 1.80, 1.28, 1.06 load average for pset 0 : 1.80, 1.28, 1.06 Eg2: tek260-3::/mnt/vts > uptime -p ",,,21" 6:40pm up 13 days, 6:53, 11 users load average for pset 0 : 1.82, 1.36, 1.10 load average for pset 0 : 1.82, 1.36, 1.10 load average for pset 0 : 1.82, 1.36, 1.10 load average for pset 21 : 1.00, 1.00, 1.00 Resolution: The option processing code for -p option is modified to correct this behaviour. ( SR:8606203309 CR:JAGad72483 ) 'uptime -w' prints '-' instead of command name under 'what' field because of the incompatibility of 32-bit application on a 64-bit system. Resolution: The fix is to provide compatibility of 32-bit application on a 64-bit system by means of defining an appropriate flag in the code. PHCO_24475: ( SR:8606198645 CR:JAGad67834 ) This patch contains minor enhancements required to support the HP-UX Processor Sets product. Resolution: Enhancements to uptime(1) to utilize changes in mpctl() when Processor Sets product is enabled. Also added new option 'p' to give the load averages on processor sets. SR: 8606198645 8606203309 8606238434 Patch Files: OS-Core.CAUX-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: /usr/share/man/man1.Z/uptime.1 /usr/share/man/man1.Z/w.1 OS-Core.CMDS-AUX,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/bin/uptime /usr/bin/w what(1) Output: OS-Core.CAUX-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: /usr/share/man/man1.Z/uptime.1: None /usr/share/man/man1.Z/w.1: None OS-Core.CMDS-AUX,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: /usr/bin/uptime: uptime.c $Date: 2002/02/22 04:36:55 $Revision: r11.1 1/2 PATCH_11.11 (PHCO_26026) $Revision: @(#) all CUP11.11_BL2002_0227_3 PATCH_11. 11 PHCO_26026 Wed Feb 27 03:12:12 PST 2002 $ /usr/bin/w: uptime.c $Date: 2002/02/22 04:36:55 $Revision: r11.1 1/2 PATCH_11.11 (PHCO_26026) $Revision: @(#) all CUP11.11_BL2002_0227_3 PATCH_11. 11 PHCO_26026 Wed Feb 27 03:12:12 PST 2002 $ cksum(1) Output: OS-Core.CAUX-ENG-A-MAN,fr=B.11.11,fa=HP-UX_B.11.11_32/64, v=HP: 697356929 2104 /usr/share/man/man1.Z/uptime.1 697356929 2104 /usr/share/man/man1.Z/w.1 OS-Core.CMDS-AUX,fr=B.11.11,fa=HP-UX_B.11.11_32/64,v=HP: 4270685173 24576 /usr/bin/uptime 4270685173 24576 /usr/bin/w Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_24475 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 PHCO_26026 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_26026.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_26026. 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 PHCO_26026.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_26026.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_26026.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None