Patch Name: PHCO_22676 Patch Description: s700_800 11.00 swapinfo(1M) patch Creation Date: 01/02/04 Post Date: 01/02/06 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: defect_repair general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_22676 Symptoms: PHCO_22676: 1. swapinfo displays incorrect output for swap > 2GB. 2. swapinfo displays incorrect totals. 3. swapinfo displays incorrect file system type. Defect Description: PHCO_22676: 1. swapinfo displays incorrect output when file system swap is >2GB. Resolution: Few variables are promoted to uint64_t to hold bigger values of swap information. Also typecasting is done for correct calculations. 2. swapinfo -atm shows incorrect totals for swap usage. Resolution: Bad printf format specification was corrected so as to display the correct values. 3. swapinfo displays incorrect file system type on network. Resolution: Check was introduced to get the correct file system type. SR: 8606133779 8606145545 8606105202 Patch Files: OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/sbin/swapinfo what(1) Output: OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/sbin/swapinfo: $Revision: 82.3.2.5 $ PATCH_11_00: swapinfo.o 01/02/04 cksum(1) Output: OS-Core.SYS-ADMIN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 3615026045 24576 /usr/sbin/swapinfo Patch Conflicts: None Patch Dependencies: s700: 11.00: PHKL_22771 s800: 11.00: PHKL_22771 Hardware Dependencies: None Other Dependencies: None Supersedes: None Equivalent Patches: None Patch Package Size: 40 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_22676 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_22676.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_22676. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHCO_22676.depot 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_22676.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_22676.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_22676.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None.