Checkhpux(); Checklinux(); Checksunos() - IBM Prerequisite Scanner User Manual

Table of Contents

Advertisement

checkHpux()

Checks whether the version of the HP-UX operating system is for IA64 or PARISC
platforms.
Purpose
This function uses the -m flag of the uname command to determine whether the
HP-UX operating system is for IA64 or PARISC platforms.
Syntax
checkHpux
Return values
String HPUXIA64|HPUXPARISC

checkLinux()

Checks whether the version of the Linux operating system is for System p, System
z, or x86 platforms.
Purpose
This function uses the -m flag of the uname command to determine whether the
Linux operating system is for System p, System z, or x86 platforms.
Syntax
checkLinux
Input parameters
Return values
String LINUXPSERIES|LINUXZSERIES|LINUXX86

checkSunOS()

Checks whether the version of the Solaris operating system is for SPARC or X86
platforms.
Purpose
This function uses the -p flag of the uname command to determine whether the
Solaris operating system is for SPARC or X86 platforms.
Syntax
checkSunOS
Input parameters
144
Prerequisite Scanner: User's Guide
Returns "HPUXIA64" if the -m flag is "ia64"; otherwise, it returns
"HPUXPARISC".
Returns "LINUXPSERIES" if the -m flag is "ppc64" or "ppc". It returns
"LINUXZSERIES" if the value is "s390x" or "s390"; otherwise, it returns
"LINUXX86".

Advertisement

Table of Contents
loading

Table of Contents