Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Tru64 Unix
cancel
Showing results for 
Search instead for 
Did you mean: 

To check available patch

Jess_13
Advisor

To check available patch

Hi all,

I would like to know the command to check all the patch available in my Alpha server. Or is there any directory which stores all the patches?

Thank you.
5 REPLIES
Michael Schulte zur Sur
Honored Contributor

Re: To check available patch

Hi,

there are two ways.
dupatch -nolog -track -type patch
and
cd /usr/.smdb.
ls -l | grep -i "pat.*inv"

greetings,

Michael
Jess_13
Advisor

Re: To check available patch

Hi Micheal, thanks a lot for your prompt reply.

For the second command, what is the purpose for grep -i"pat.inv"? The result shows the patch id that are installed previously?

Michael Schulte zur Sur
Honored Contributor

Re: To check available patch

Jess,

each patch has more than one file and I wanted to make the listing shorter.

greetings,

Michael
Johan Brusche
Honored Contributor

Re: To check available patch



Jess

Some refinement to Michael's suggestion...

cd /usr/.smdb.

ls *PAT*.inv | wc -l
gives you the number of patchmodules present in the kits installed on the system.

grep INSTALLED *PAT*.sts | wc -l
gives you the number of patchmodules ever installed on the system.

The code in the filename between the string OSFPAT or TCRPAT and 5nn(version.nmbr) is the patch-ID, eg:
OSFPAT02610200540, means patch-ID 26102.00 for V5.1B

Rgds,
__ Johan.


_JB_
Ivan Ferreira
Honored Contributor

Re: To check available patch

You can use:

dupatch -track -type kit

To verify your cumulative patch level.

You can also use:

setld -i |grep -i patch

To list individual patches.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?