cpuinfo

Returns information from a workstation definition.

Syntax

cpuinfo -V | -U

cpuinfo [folder/]workstation [infotype] [...]

Arguments

-V
Displays the command version and exits.
-U
Displays command usage information and exits.
[folder/]workstation

The name of the workstation, optionally preceded by the folder name in which the worstation is defined.

infotype
The type of information to display. Specify one or more of the following:
os_type
Returns the value of the os field: UNIX®, WNT, ZOS, OTHER, and IBM i. The value ZOS applies only to remote engine workstations used to communicate to an HCL Workload Automation for Z controller.
node
Returns the value of the node field. For a workload broker server it is the host name or the TCP/IP address of the workstation where you installed the HCL Workload Automation Bridge. For a remote engine workstation it is the host name of workstation where the remote engine is installed. In any other case specify the host name or the TCP/IP address of the workstation.
port
Returns the value of the tcpaddr field. If you are defining a workload broker workstation, specify the value of the TWS.Agent.Port property of the TWSAgentConfig.properties file. For remote engine workstations the value of this field is the HTTP port number used by the remote engine. If HTTPS protocol is used the value of this field is 31111.
sslport
Returns the value of the secureaddr field. It is the port used to listen for incoming SSL connections. For remote engine workstations the value of this field is the HTTPS port number used by the remote engine. If HTTP protocol is used the value of this field is 31113.
protocol
Returns the value of the protocol field: HTTP or HTTPS. When the type of workstation is remote engine this value indicates the protocol used to communicate between the broker server and the remote engine.
sec_level
Returns the value of the securitylevel field: NONE, ENABLED, ON, or FORCE.
autolink
Returns the value of the autolink field: ON or OFF.
fullstatus
Returns the value of the fullstatus field: ON or OFF.
resolvedep
Returns ON or OFF. No longer used in version 8.6.
behindfirewall
Returns the value of the behindfirewall field: ON or OFF.
host
Returns the value of the host field. It is the name of the workstation hosting the agent.
domain
Returns the value of the domain field.
ID
Returns the agent identifier used by the workstation when connecting to the broker server. For workstation with type: AGENT, REM-ENG, POOL, D-POOL.
method
For extended and network agents only. Returns the value of the access field.
server
Returns the value of the server field.
type
Returns the value of type field. It shows the type of workstation: MASTER, MANAGER, FTA, S-AGENT, REM-ENG, AGENT, POOL, D-POOL and X-AGENT.
time_zone
Returns the value of timezone field. It shows the time zone of the workstation. For an extended agent, the field is blank. For a remote engine workstation, this is the time zone of the remote engine.
version
Returns the HCL Workload Automation version that is running on the workstation. For an extended agent, the field is blank.
info
Returns the operating system version and workstation model. For extended agents the field is blank. For remote engine workstations this field displays Remote Engine.

Comments

The values are returned, one on each line, in the same order that the arguments were entered on the command line. If no arguments are specified, all applicable information is returned with labels, one on each line.

Examples

The examples below are based on the following workstation definition:
Workstation Name  Type     Domain            Updated On  Locked By
----------------  -------  ----------------  ----------  ------------------
RE-ZOS            REM-ENG  -                 09/06/2010  -

CPUNAME RE-ZOS
  OS ZOS
  NODE 9.168.119.189 TCPADDR 635
  FOR MAESTRO HOST NC123162_DWB
    TYPE REM-ENG
    PROTOCOL HTTP
END
To print the type and protocol for workstation RE-ZOS, run the following command:
>cpuinfo RE-ZOS type protocol
REM-ENG
HTTP
To print all information for workstation RE-ZOS, run the following command:
>cpuinfo RE-ZOS
 OS_TYPE: ZOS
 NODE: 9.168.119.189
 PORT: 635
 SSLPORT: 31113
 ENGINEADDR: 0
 PROTOCOL: HTTP
 AUTOLINK: OFF
 FULLSTATUS: OFF
 RESOLVEDEP: OFF
 BEHINDFIREWALL: OFF
 HOST: NC123162_DWB
 DOMAIN: MASTERDM
 ID: D795263CBCD2365CA7B5C5BC0C3DD363
 SERVER:
 TYPE: REM-ENG
 TIME_ZONE: Europe/Rome
 VERSION: 8.6
 INFO: Remote Engine