Problem
If you are working as a System Administrator then you need to keep the records of each and every change in the system. After applying the patches on HP-UX servers, you need to know what bundles and products have been updated on your HP-UX system.
Here, I will show you how you can find the list of the latest installed bundles and products on your HP-UX system.
Solution
To find the list of installed bundles and products on your HP-UX system on a specific date, run the below command.
# /usr/sbin/swlist -a install_date |grep 20200611
CPB_job-66067 202006111209.24
QPKAPPS 202006111209.24
QPKBASE 202006111209.24
Here, I have given the date 11.06.2020 as a parameter in the command to find the bundles and products installed on that particular date.
If you want to see all installed bundles and products on your HP-UX system with date, then run the below command.
# /usr/sbin/swlist -a install_date
# Initializing...
# Contacting target "DBAPPWEB"...
#
# Target: DBAPPWEB:/
#
#
# Bundle(s):
#
10GigEthr-02 202001171247.36
10GigEthr-03 202001171247.36
10GigEthr-04 201703100617.49
10GigEthr-05 202001171247.36
B3835DA 201703100617.56
BUNDLE 202001171612.24
Base-VXFS 201703100617.57
.
.
.
.
#
# Product(s) not contained in a Bundle:
#
GNU_C_C++ 201709190946.21
HPOvAcc 202001071041.39
HPOvAgtLc-OAHPUX_00032 202001071043.31
.
.
.
Use command swlist –help to see the all options which can be used with the command swlist
# /usr/sbin/swlist --help
/usr/sbin/swlist: illegal option -- -
Usage: swlist [options] [software_selections] [@ target_selections]
Options include:
-v write verbose output to stdout
-r target selections are alternate root directories
-d target selections are software depots
-R shorthand for -l bundle -l subproduct -l fileset
-l level levels of objects to view, one of: "depot",
"bundle", "product", "subproduct", "fileset",
"file", "root", "shroot", "prroot",
"category", "patch", "control_file"
-a attribute list this attribute (multiple -a options can be
specified)
-s source read the software selections from this source
-x option=value set the option to value
-X option_file read option definitions from this file
-f software_file read software selections from this file
-t target_file read target selections from this file
-C session_file user saved session file
-S session_file read options, software selections, and target
selections from this file
Software selections are specified as:
product[.subproduct][.fileset][,version] ...
where version is either
[r=revision][,a=arch][,v=vendor][,l=location]
instance_id
Target selections are specified as:
@ [host][:][path] ...
#
Last Updated: August 08, 2020
Related Posts
- How to Install a .depot Package Using swinstall on HP-UX
- HP-UX: How to restrict NFS share access to a particular server?
- crontab: you are not authorized to use cron. Sorry. in HP-UX
- HP-UX: SSH taking too much time after adding the DNS Servers
- How to add DNS servers on an HP-UX server
- How to login to vPar console in HP-UX
- How to extend the size of Logical Volume (LV) in HP-UX
- How to determine file system type in HP-UX using command
- How to check vPar machines status in HP-UX
- How to find HBA cards/ports and WWN Number details in HP-UX (nPar)
- How to find HBA cards/ports and WWN Number details in HP-UX (vPar)
- HP-UX command to get Physical Memory Information
- HP-UX command to get Processor Information
- HP-UX command to get Hardware Serial Number
- su: Sorry in HP-UX while switching from normal user to root user
- SSH login taking too much time on HP-UX 11.31
- How to Disable Root SHH Login in HP-UX?
- hpvmstatus: HPVM currently not running.
- How to view/print routing table in HP-UX?
- Create a Logical Volume larger than 2TB and format it in HP-UX
- Protect SSH Logins with SSH and MOTD Banner Messages in HP-UX
- Remove welcome message after login in HP-UX 11.31
- Create a Logical Volume and format it in HP-UX
- How to rescan new LUNs added in HP-UX 11.31
- How to reboot a HP-UX machine?
- How to remove File System, LV and VG in HP-UX and Linux?
- How to remove NO_HW devices from ioscan in HP-UX without a reboot?
- Change root user password of vpar machine in HP-UX
Emmerencia A Tifuh
how can i check the latest patch install within a time frame example from oct 1 2020 to May 1 2021