Sponsored Content
Full Discussion: getting patch information
Operating Systems Solaris getting patch information Post 75798 by Just Ice on Wednesday 22nd of June 2005 08:29:32 AM
Old 06-22-2005
no need for a script ... just do ... (replace 123456-00 with the actual patch number and not the double quotes around it) ...

Code:
showrev -p | awk '$2 = "123456-00"'

or ... if you run into an error with patches having too many fields ...

Code:
showrev -p | grep 123456 | awk '$2 == "123456-00"'

 

9 More Discussions You Might Find Interesting

1. HP-UX

OS Patch

Hello, I have to apply the patch PHSS_24302 on HPUX B.11.11 os version. When i look at the /var/adm/sw/swagentd.log it mentions that "this is not a valid depot". I downloaded the patch from HP web site. Please get back to me at the earliest as I'm dead in the water. Thanks, Balaji K (3 Replies)
Discussion started by: bkrish
3 Replies

2. Shell Programming and Scripting

patch

Dear Guys , I use Linux Red Hat 9 .. i installed a patch for a web mail i use , and i think it make a damage for my web mail i cannot see it anymore . i get so many error messages . what i want to ask is there any command on linux i can use to remove the patch !!! i want to remove the... (1 Reply)
Discussion started by: tamemi
1 Replies

3. UNIX for Dummies Questions & Answers

patch

Dear All , I have Sun Solaries 7 sparc server ... am runing perl , CGI , MD5 ... etc for new web mail am setting up . now i have to install the patch ( xyz.pl.patch ) against a perl file for ex. xxx.pl what exact command i have to use ,,, also i do not want to make damage for my system... (6 Replies)
Discussion started by: tamemi
6 Replies

4. IP Networking

Patch-o-matic (patch for iptable) for linux2.4.08 & iptable1.2.7a

Hello friends I'm running Redhat 9.0 with linux kernel 2.4.20-8 & have iptables version 1.2.7a & encountering a problem that I narrate down. I need to apply patch to my iptable and netfilter for connection tracking and load balancing that are available in patch-o-matic distribution by netfilter.... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies

5. Solaris

Patch help?

Hello... I'm looking for latest patch for automount and what it does on Solaris8, Thanks! :confused: (2 Replies)
Discussion started by: catwomen
2 Replies

6. Solaris

upgrade patch

The above was the result i obtained from my live upgrade, will i have to manually installed this downloaded patch or is it alright to leave it like that (1 Reply)
Discussion started by: seyiisq
1 Replies

7. BSD

Right patch for libXmu-1.0.3,1

Hi all, First happy new year to all and your families. My question: I'm trying to install X11 on FreeBSD 7.0 ...... This box has no net connection so I downloaded components of X, and last step asked me annoying questions !!!!! Step 23: Fetch libXmu-1.0.3.tar.bz2 ... (0 Replies)
Discussion started by: jm-FreeBsd
0 Replies

8. Solaris

patch level

how can i know the patch level in solaris 10? is there a command to know what patchs installed in my solaris? i mean is there any tool i can run to know that other than pkginfo | more? i need to make an inventory of all my SUN servers. i can run explorer in all the machines but unfortunately i... (3 Replies)
Discussion started by: q8devilish
3 Replies

9. Red Hat

Patch Installation

Dear All, I have some 6 RedHat Servers ( 5.4 ) tikanga connected to the Intranet. Some are Database Servers and application servers. For the past 1.5 years , we have not installed any patches.. Is there any way to find out , whether these systems needs patches and where to... (5 Replies)
Discussion started by: jegaraman
5 Replies
showrev(1M)															       showrev(1M)

NAME
showrev - show machine, software revision, and patch revision information SYNOPSIS
/usr/bin/showrev [-a] [-p | -p -R root_path] [-w] [-c command] [-s hostname] showrev displays revision information for the current hardware and software. With no arguments, showrev shows the system revision informa- tion including hostname, hostid, release, kernel architecture, application architecture, hardware provider, domain, and kernel version. If a command is supplied with the -c option, showrev shows the PATH and LD_LIBRARY_PATH and finds out all the directories within the PATH that contain it. For each file found, its file type, revision, permissions, library information, and checksum are printed as well. The following options are supported: -a Print all system revision information available. Window system and patch information are added. -c command Print the revision information about command. -p Print only the revision information about patches. -R root_path Define the full path name of a directory to use as the root_path. By specifying the root path, showrev retrieves the revi- sion information about the patch from package system information files located under a directory tree starting at root_path. The root_path can be specified when retrieving installed patch information in a client from a server, for exam- ple, /export/root/client1. Note - The root file system of any non-global zones must not be referenced with the -R option. Doing so might damage the global zone's file system, might compromise the security of the global zone, and might damage the non-global zone's file system. See zones(5). -s hostname Perform this operation on the specified hostname. The -s operation completes correctly only when hostname is running Solaris 2.5 or compatible versions. -w Print only the OpenWindows revision information. OUTPUT
Varies, based on flags passed. If no flags are passed, output similar to the following appears: Hostname: system1 Hostid: 7233808e Release: 5.10 Kernel architecture: sun4u Application architecture: sparc Hardware provider: Sun_Microsystems Domain: a.network.COM Kernel version: SunOS 5.10 generic The following error values are returned: 0 Successful completion. >0 An error occurred. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWadmc | +-----------------------------+-----------------------------+ arch(1), ldd(1), mcs(1), sum(1), patchadd(1M), attributes(5) For the -s option to work when hostname is running a version of Solaris prior to 2.5, the Solstice AdminSuite must be installed on host- name. 6 Apr 2005 showrev(1M)
All times are GMT -4. The time now is 01:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy