Operating System - HP-UX
1748216 Members
3302 Online
108759 Solutions
New Discussion юеВ

Re: how to see the patch installed in the server

 
jeevanandham
Frequent Advisor

how to see the patch installed in the server

Hi all can anyone say how to see the latest patch installed in the server
any command please..?
8 REPLIES 8
Ivan Krastev
Honored Contributor

Re: how to see the patch installed in the server

Use swlist:

swlist -l patch

for the latest patch bundle:
swlist | grep -i QPK

regards,
ivan
Ganesan R
Honored Contributor

Re: how to see the patch installed in the server

Hi,

#swlist -l bundle |grep -i patch

will list the installed patch bundles
Best wishes,

Ganesh.
ROCK_10
Advisor

Re: how to see the patch installed in the server

Hello,

If you know the required patch name then you can use below command.

swlist patch | grep -i patch number

Thanks,

Rock
ROCK_10
Advisor

Re: how to see the patch installed in the server

sorry i forgot to put -l option with swlist command
D.Blond
Frequent Advisor

Re: how to see the patch installed in the server

Hello,
/usr/contrib/bin/show_patches>/tmp/patchs.txt
D.Blond
Torsten.
Acclaimed Contributor

Re: how to see the patch installed in the server

Nice tools:

# show_patches -h

Usage: show_patches [-a] [-s] [-l product|fileset]

-a : show information about active patches (default)

-s : show information about superseded patches

-l : display information for the patch at the
product level (default) or fileset level



# check_patches -h

Usage: check_patches [-imopsv]

-i: check for invalid patches
-m: check for missing filesets in active patches
-o: check checksum values for object modules
-p: check patch fileset patch_states
-s: check patch fileset states
-v: run swverify on all patch filesets

If no options are specified, all checks are performed.

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!   
Suraj K Sankari
Honored Contributor

Re: how to see the patch installed in the server

hi,

swlist -l patch

Suraj
Taifur
Respected Contributor

Re: how to see the patch installed in the server

Hi Jeevanandham,

You can check by taking nickel output
#cd /opt/contrib/bin
#./nickel

Take nickel and check all installed softwrae and installed patches.
or
#swlist -l patch

For details check man of swlist
#man swlist
Rgds//
Taifur