HCL Workload Automation, Version 9.4

showresources

Displays information about resources.

The displayed information is updated only as long as HCL Workload Automation (batchman) is running. Whether batchman is up or down is confirmed on screen by the Batchman LIVES or Batchman down message when you issue the conman start command.

You must have list access to the object being shown if the enListSecChk option was set to yes on the master domain manager when the production plan was created or extended.

Syntax

{showresources | sr} [[workstation#]resourcename]
     [;keys]
     [;offline]

{showresources | sr} [[workstation#]resourcename]
     [;deps[;keys | info | logon]]
     [;offline]

Arguments

workstation
Specifies the name of the workstation on which the resource is defined. The default is the workstation on which conman is running.
resourcename
Specifies the name of the resource. Wildcard characters are permitted.
keys
Displays a single column list of the objects selected by the command.
deps
Displays information in the deps format. Use keys, info, or logon to modify the display.
info
Displays information in the info format.
logon
Displays information in the logon format.
offline
Sends the output of the command to the conman output device. For information about this device, see Offline output.

Results

The output of the command is produced in three formats: standard, keys, and deps. The arguments keys, info, and logon modify the deps display.

Examples

To display information about all resources on the workstation on which you are running conman, run the following command:
showresources
A sample output is:
CPU#Resource      Total Available    Qty UsedBy
CPUA #JOBSLOTS    16        16       No holders of this resource
To display information about the jobslots resource on workstation CPUA in the deps format, run the following command:
sr CPUA#JOBSLOTS;deps
A sample output is the following:
                                               (Est)  (Est)
Workstation Job Stream SchedTime Job  State Pr Start Elapse RetCode Dependencies

CPUA       #JOBSLOTS Dependencies are:


  FTAA     #SCHED_F+ 0600 03/04 ****** HOLD 55(03/04)              [03/04/06];#33
                         (CPUA#)JOBMDM HOLD 30(03/04)              #1(PRMT3);-16 JOBSLOTS-

  FTAA     #SCHED_F+ 1010 03/04 ****** HOLD 55(03/04)              [03/04/06];#34
                         (CPUA#)JOBMDM HOLD 30(03/04)              #1(PRMT3);-16 JOBSLOTS-

  FTAA     #SCHED_F+ 0600 03/05 ****** HOLD 55(03/05)              [03/04/06];#35
                         (CPUA#)JOBMDM HOLD 30(03/05)              #1(PRMT3);-16 JOBSLOTS-

See also

From the Dynamic Workload Console you can perform the same task as follows:
  1. In the Welcome page, select Monitor your workload, or in the navigation bar at the top of the page, click System Status and Health > Workload Monitoring > Monitor Workload.
  2. Select an engine.
  3. In Object Type, select Resource.
  4. From the Query drop-down list, select All Resources in plan or another task to monitor resources.
  5. Click Run to run the monitoring task.