- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hpux command
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 05:54 AM
10-25-2005 05:54 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 05:55 AM
10-25-2005 05:55 AM
Re: hpux command
You can verify your installed software/patches using:
# swverify
For detail, see "man swverify"
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 05:56 AM
10-25-2005 05:56 AM
Re: hpux command
But you should also have a look in the logs, if you get errors/warnings during installation!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 06:00 AM
10-25-2005 06:00 AM
Re: hpux command
If you want to review the state of your patches, I suggest simply running:
# show_patches
The '/usr/contrib/bin/show_patches' utility provides a nicely formatted "front-end" to 'swlist" for showing the state of patches (superseded and active). See the man pages for more information.
If you truly wnat to "verify" all installed patches, you can do:
# /usr/sbin/swverify \*
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 06:02 AM
10-25-2005 06:02 AM
Re: hpux command
This will only work if you have IgniteUX installed on your Systems.
If you would like to view pacthes details then you can also use:
# swlist -l patch
(In case IgniteUX is not available)
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 06:07 AM
10-25-2005 06:07 AM
Solutionswlist -l fileset -a state |grep -E 'installed|corrupt|transient'
any patch in an installed state can be configured using 'swconfig \*', trasient or corrupt would require some troubleshooting.
-denver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 06:33 AM
10-25-2005 06:33 AM
Re: hpux command
You can use show_patches or slist -l fileset|grep -i P*
Rgds
HGN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 06:33 AM
10-25-2005 06:33 AM
Re: hpux command
I should add, that in lieu of 'swverify' you can use a very elegant front-end:
# check_patches
See the manpages for more information.
Please note that both 'show_patches' and 'check_patches' are available with the "patch_tools" patch (PHCO_27780 for 11.11). Versions exist for other 11x too, if you need them.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 03:47 PM
10-25-2005 03:47 PM
Re: hpux command
# swverify
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 04:29 PM
10-25-2005 04:29 PM
Re: hpux command
below a list of other utilities that we commonly use:
# /usr/contrib/bin/show_patches -s
The show_patches script with -s option will list all the superseded patches in the system.
You can also query two attributes of patches that tell you whether the patch superseds or superseded by any other patch.
swlist -a supersedes
The above swlist will list, on the second column, the patches superseded by the patch
given in the command line
swlist -a superseded_by
The above swlist will list, on the second column, the patches that superseded the patch given in the command line.
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 06:29 PM
10-25-2005 06:29 PM
Re: hpux command
My 11.11 shows,
# swlist -l file |grep "show_patches"
OS-Core.CMDS-AUX: /usr/contrib/bin/show_patches
OS-Core.CMDS-AUX: /usr/contrib/man/man1/show_patches.1
PHCO_27780.CMDS-AUX: /usr/contrib/bin/show_patches
PHCO_27780.CMDS-AUX: /usr/contrib/man/man1/show_patches.1
whereas in 11.23, It shows nothing,
# swlist -l file |grep "show_patches"
#
You can use #swlist -l patch and #swverify
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 07:00 PM
10-25-2005 07:00 PM
Re: hpux command
should also work.
swlist -l file | grep show_patches output on our 11.23 systems:
# swlist -l file | grep show_patches
OS-Core.CMDS-AUX: /usr/contrib/bin/show_patches
OS-Core.CMDS-AUX: /usr/contrib/man/man1.Z/show_patches.1
PHCO_32220.CMDS-AUX: /usr/contrib/bin/show_patches
PHCO_32220.CMDS-AUX: /usr/contrib/man/man1.Z/show_patches.1
hth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 07:30 PM
10-25-2005 07:30 PM
Re: hpux command
2) swlist -l fileset -a state
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2005 09:28 PM
10-25-2005 09:28 PM
Re: hpux command
Best and easy remembering command are:
#check_patches.
This will show the patch integrity.This command will also generate a verify report in /tmp/check_patches.report for your reference.
example:
------------------
root@GANGA#/>check_patches
Obtaining information on installed patches
Checking installed version of /usr/sbin/swconfig
Checking for invalid patches
Checking object module checksums for active patch fileset 726 of 726
Checking patch filesets for active patch 371 of 371
Checking state for patch fileset 1306 of 1306
Checking patch_state for patch fileset 1306 of 1306
Running swverify on all patch filesets, this may take several minutes
RESULT: No problems found, review /tmp/check_patches.report for details.
for viewing the installed patches you can use
#show_patches
Example:
-------------
root@GANGA#-/>show_patches|more
Active Patch
Patch Description
---------- -----------------------------------------
PHCO_22958 set_parms
PHCO_23263 HP AutoRAID Manager cumulative patch
PHCO_23370 lint(1) library patch
PHCO_23463 sysdef(1) patch
PHCO_23492 Kernsymtab Patch
PHCO_23702 cumulative header file patch for prot.h
PHCO_23909 cu(1) patch
PHCO_23920 sfd(1M) patch
PHCO_24198 ioscan(1M) patch
PHCO_24396 /etc/default/tz patch
PHCO_24440 cumulative cpio(1) patch
PHCO_24456 st(1m) shared tape administration
PHCO_24477 sar(1m) patch
PHCO_24590 df(1m) cumulative patch
<-------ONLY FEW LINES GIVEN FOR EXAMPLE-------------->
The following command will show the patch configuration State.
#swlist -l patch -a state
Example:-
root-/>swlist -l patch -a state|more
# Initializing...
# Contacting target "GANGA"...
#
# Target: GANGA:/
#
# Accounting
# Accounting.ACCOUNTNG configured
PHCO_27009.ACCOUNTNG configured
# Accounting.ACCT-ENG-A-MAN configured
# Accounting.ACCT-JPN-E-MAN configured
# Accounting.ACCT-JPN-S-MAN configured
# ApacheStrong
# ApacheStrong.APACHE-STRONG configured
# ApacheStrong.TOMCAT configured
# Asian-Core
# Asian-Core.ASX-JPN-E-MAN configured
# Asian-Core.ASX-JPN-MAN configured
# Asian-Core.ASX-JPN-NOTES configured
# Asian-Core.ASX-JPN-S-MAN configured
# Asian-Core.ASX-KOR-NOTES configured
# Asian-Core.ASX-MAN configured
# Asian-Core.ASX-SCH-NOTES
Regards,
Syam