SUMMARY: Script to check for installed patches

From: Mark Gosselin <>
Date: Fri Apr 20 2001 - 09:28:43 EDT
Thanks to all who responded.... Everyone pointed to patchdiag from
SunSolve. Normally, that would work
great for me. However, I'm goign to need to modify whatever I use to check
patch installs on HP and AIX as

Moti Levi provided me with a simple script to start with. I should be able
to modify it to check other OSes....

#! /bin/sh
for patch in `cat $PATCH_LIST` ;do
 showrev -p |grep $patch > /dev/null 2>&1
    if [ $? -eq 1 ] ;then
       echo "$patch is not installed !"

Thanks again for all your help.....

Mark Gosselin
NetScout Systems

----- Forwarded by Mark Gosselin/NetScout on 04/20/01 09:38 AM -----
                    "Mark Gosselin"                                                                                                               
                    <        To:                                                            
                    >                              cc:                                                                                            
                    Sent by:                       Subject:     Script to check for installed patches                                             
                    04/19/01 03:11 PM                                                                                                             

Does anyone on this list happen to have a script that will take a
pre-determined list of patches,
check to see that each is installed and report back which are not there???
I have a use for such
a script, but am lacking in time to create one myself.... Anything at all
that may or may not need
modification would be helpful.....

Mark Gosselin
NetScout Systems

sunmanagers mailing list
Received on Fri Apr 20 14:28:43 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:24:53 EDT