Command line utility to check patch levels

Anyone know the command to check patch levels of all critical files on a Solaris 5.9 Generic_112233_03 box.

This is a production box so I can't install anything and don't want to get into scripting...
LVL 2
mellowmarquisAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

yuzhCommented:
You can use the following command:

showrev -p | grep 112233_03

or
patchadd -p | grep 112233_03

man showrev
man patchadd

to learn more details.

also, you can have a look ar /var/sadm/patch for the patch infor.
0
TintinCommented:
Depends on your definition of critical files.

If you are interested in just security patches, then the easiest way is to use some of the patching tools from sunsolve.sun.com
0
mellowmarquisAuthor Commented:
It's just for security patches, and as I said, I can't install anything (client's machine).

When I use the commands showrev or patchadd, the cursor halts for a second or two and then appears again but I get no output. When I try to view the man pages, it tells me "No manual entry for <command>.

Any suggestions?
Thanks again
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

yuzhCommented:
Do:

cd  /var/sadm/patch
ls -al

Can you see anything?

>>>"No manual entry for <command>.

Have you set MANPATH, in your .profile? eg:
  #============================================================================
  #
  # Set up MANPATH
  #

    MANPATH=/opt/SUNWspro/man
    MANPATH=$MANPATH:/usr/man
    MANPATH=$MANPATH:/usr/bin/man
    MANPATH=$MANPATH:/usr/openwin/man
    MANPATH=$MANPATH:/usr/dt/man
    MANPATH=$MANPATH:/usr/local/man
    MANPATH=$MANPATH:/usr/apache/man
    MANPATH=$MANPATH:/usr/local/teTex/man
    MANPATH=$MANPATH:/usr/local/Magic/man
    export MANPATH



0
yuzhCommented:
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GugroCommented:
showrev -p SHOULD show you all installed patches. if not you have a problem with this system
( missing files/packages, corrupt patch database )
Hints
- look in /var/sadm/install/patches
- Is the explorer tool installed in /opt/SUNWexplo ?
- look for the patchdiag tool on Suns web pages
0
mellowmarquisAuthor Commented:
The commands would not work because I needed to escalate to admin mode....spot the noob.

Thanks to everyone for all your help, especially yuzh... that link was exactly what I was dreaming about as I trawled thru the Sun site for an hour before posting this question. It will now take pride of place in my Favourites folder.

Cheers,
Mark
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.