December 15, 2009

Solaris 10 patch parser tool

Posted in Utility at 3:18 pm by alessiodini

Unfortunately Sun Microsystems doesn’t have a tool for this purpose.
Due to customer requestes , i wrote this tool that compare every patch between global and local zones ( native or branded) , or just between local zones.

In this example i ran it for parsing of solaris 8 zones:

# perl patchparser.pl

Syntax: patchparser.pl { -a | -g | -n | -b }
-a : compare patches between global zone and all running native local zone
-g : compare patches between two or more global zone
-n : compare patches between native running zones only
-b8 : compare patches between Solaris 8 branded running zones only
-b9 : compare patches between Solaris 9 branded running zones only

#perl patchparser.pl -b8

[…]
Missing patch 108435-22 on zone local47
Missing patch 109862-04 on zone local57
Missing patch 110927-01 on zone local72

On wordpress i’m trying to upload this script but it seems that i can upload only jpg/pdf/bmp files.
So , this is the link to download the code.

Advertisements

2 Comments »

  1. Yunus Omade said,

    This is really a script that I think will be very useful in my environment.

    • alessiodini said,

      thank you! 🙂


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: