Appendix J. Other Functions For Unix Systems; Common Functions In Multiple Files - IBM Prerequisite Scanner User Manual

Table of Contents

Advertisement

Appendix J. Other functions for UNIX systems

Prerequisite Scanner has a set of common functions in various files.
Table 42 outlines the set of functions in multiple files.
Table 43 outlines the set of functions in the UNIX-Linux/TAD722_impl.sh file for
running checks for Tivoli License Compliance Manager and Tivoli Asset Discovery
for Distributed.
© Copyright IBM Corp. 2009, 2012
Table 42. Common functions in multiple files
Function
"formatSizeDisplay()" on page 142
"versionCompare()" on page 142
Table 43. Common functions in TAD722_impl.sh
Function
"checkSunOS()" on page 144
"checkHpux()" on page 144
"checkLinux()" on page 144
"getSystemId()" on page 146
"getValue()" on page 145
"setValue()" on page 145
"copyValue()" on page 145
"parseDirParameter()" on page 147
"getClosestExistingParentDir()" on page 146
Description
Takes the input parameter and appends or
trims the fractional part of the input
parameter to two decimal points, for
example, 123MB to 123.00MB or 12.123MBs
to 12.12MBs.
Parses the input parameters that represent
the actual and expected values for a
prerequisite property and compares each
part of the version to determine whether the
prerequisite property passes the prerequisite
check.
Description
Checks whether the version of the Solaris
operating system is for SPARC or X86
platforms.
Checks whether the version of the HP-UX
operating system is for IA64 or PARISC
platforms.
Checks whether the version of the Linux
operating system is for System p
or x86 platforms.
Calls different OS functions to check the
platforms for the relevant operating system.
Gets the value for a key in a specified file if
the key exists.
Sets the value for a key in a specified file if
the prerequisite property exists.
Gets and sets the value for the prerequisite
property (key) based on the product and
operating system.
Parses the parameter from the parameter list
for the scanner's -p flag and puts its value in
the list.
Gets the closest parent directory or itself.
®
, System z,
141

Advertisement

Table of Contents
loading

Table of Contents