man sgiprods
NAME
sgiprods - compare IRIX showprods listings
SYNOPSIS
sgiprods [-options] [-filters]
DESCRIPTION
The sgiprods command compares showprods listings generated on SGI IRIX sys-
tems. One or more files is specified with the '-f' option. The first line
of each input file must contain a colon and the output of a uname command:
echo ": `/sbin/uname -aR`" > showprods.1
showprods >>showprods.1 the uname information is used
for filtering by version or hardware.
OPTIONS
-files file1[,file2...]
Input showprods listings, comma or white-space separated.
-output output-file
To specify output file, defaults to stdout.
-verbose
Verbose option to display filters.
-debug
Debugging information.
-single
No space between host columns.
-subset
Sort products by subset name.
-patches
Do not attempt to merge-sort patches for products.
-Patches
Display patch numbers separately.
-page lines
Redisplay host headers after specified number of lines.
-? Display terse help message.
FILTERS
-type type1[,type2...]
Hardware type(s) to report on.
+type type1[,type2...]
Hardaware type(s) to exclude.
-software version1[,version2...]
Software version(s) to report on.
+software version1[,version2...]
Software version(s) to exlcude.
-host host1[,host2...]
Host name(s) to report on.
+host host1[,host2...]
Host name(s) to exclude.
-name product1[,product2...]
Product name(s) to report on.
+name product1[,product2...]
Product name(s) to exclude.
-match
Mached hosts (product on all hosts) not reported.
+match
Matched primary products reported, matched subsets not reported.
-primary
Reprot primary product names only.
EXAMPLES
sgiprods -mat -p -f "`ls showprods.*`" -v +name patchSG* -o test.primary
sgiprods -mat -P -f "`ls showprods.*`" -v -software 6.4 -o test.6.4
sgiprods -mat -P -f "`ls showprods.*`" -v -software 6.3 -o test.6.3
sgiprods -mat -P -f "`ls showprods.*`" -v -type ip19 -o test.ip19
sgiprods -mat -P -f "`ls showprods.*`" -v -type ip22 -o test.ip22
sgiprods -mat -P -f "`ls showprods.*`" -v -type ip28 -o test.ip28
sgiprods -mat -P -f "`ls showprods.*`" -v -name patchSG* -o test.patches
NOTES
Suggestions for enhancements or bug reports can be directed to
dutools@ts.sois.alaska.edu.
This command utilizes the cci command parser utilized by non-UNIX operating
systems instead of the traditional UNIX getopt() parsing. Options have been
defined to "look like" UNIX style options, but can be spelled out or gen-
erally abbreviated. For example '-o' is the same as '-output'. Because of
this multiple options must be space separated and the hyphen is part of the
option name. Also because of this order of options is irrelevant.
At ARSC the sgiprods is run from the chk_showprods.ksh script in the
sysmon.<admin> crontab.
Output at ARSC is collected on <admin> in:
/var/local/output/sysmon/showprods.
ACKNOWLEDGEMENTS
Written at the University of Alaska.