Findosinfo(); Telnetnfs() - IBM Prerequisite Scanner User Manual

Table of Contents

Advertisement

Return values
Integer 1
Integer 2
String $NF

findOSInfo()

Finds the operating system version, OS release level and version, and hardware
implementation data for the system.
Purpose
This function runs the uname command and parses its output for the operating
system version, OS release level and version, and hardware implementation data
for the system.
Syntax
findOSInfo
Input parameters
from this
Return values
String $oo
String $kk
String $hh
String $rr
String $vv

telnetNFS()

Checks whether can telnet to the IP address of a mounted file system on the
default port 2049.
Purpose
This function takes an IP as input and calls the telnet command to test whether
remote connection is successful on the default telnet port 2049. It attempts the
remote connection 10 times. If either the telnet action fails, the function returns a
"FALSE" value; otherwise, it returns a "PASS" value.
Returns return code 1 if the function does not receive an input parameter.
Returns return code 2 if the input parameter is not a path.
Returns the free disk space for each mount.
copy from somewhere
Output from uname without the basic system information.
Operating system version
Hardware implementation represented as I for i386 hardware or Z for s390
hardware.
Operating system release level
Operating system release level version
Appendix I. Common functions for UNIX systems
139

Advertisement

Table of Contents
loading

Table of Contents