9 99 >>-ENV_GET_SYS_INFO--(--)-------------------------------------->< 9
The schema is SYSPROC.
9The ENV_GET_SYS_INFO table function returns information about the 9 system. 9 The function does not take any arguments.
9The function returns a table as shown below.
9 9| Column name | 9Data type | 9Description | 9
|---|---|---|
| OS_NAME | 9VARCHAR(256) | 9Name of the operating system. | 9
| OS_VERSION | 9VARCHAR(256) | 9Version number of the operating system. | 9
| OS_RELEASE | 9VARCHAR(256) | 9Release number of the operating system. | 9
| HOST_NAME | 9VARCHAR(256) | 9Name of the system. | 9
| TOTAL_CPUS | 9INTEGER | 9Total number of physical CPUs on the system. | 9
| CONFIGURED_CPUS | 9INTEGER | 9Number of configured physical CPUs on the system. | 9
| TOTAL_MEMORY | 9INTEGER | 9Total amount of memory on the system (in megabytes). | 9
Example
9Request information about the system. 9
9SELECT OS_NAME, HOST_NAME, TOTAL_CPUS, 9 CONFIGURED_CPUS, TOTAL_MEMORY 9 FROM TABLE(SYSPROC.ENV_GET_SYS_INFO()) AS SYSTEMINFO
9 The following is an example of output from this query. 9
9OS_NAME HOST_NAME TOTAL_CPUS CONFIGURED_CPUS TOTAL_MEMORY 9 -------...---------...---------- --------------- ------------ 9 AIX kramer2 4 4 81929