hgetusg Command-Get Usage

The hgetusg command is used to retrieve the concurrent usage information from the broker. The information that can be retrieved from the broker includes peak concurrent usage and current usage. The peak concurrent usage information contains the maximum number of concurrent users registered with the broker during the period after the broker started and before the broker received the request. The current usage information contains the number of concurrent users registered with the broker at the time the broker received the request. The usage information includes the date and time of the report, the number of licensed users, the total number of users, user name, client URL, and client register time, and also includes the date and time of the peak usage.
cahscm101
The hgetusg command is used to retrieve the concurrent usage information from the broker. The information that can be retrieved from the broker includes peak concurrent usage and current usage. The peak concurrent usage information contains the maximum number of concurrent users registered with the broker during the period after the broker started and before the broker received the request. The current usage information contains the number of concurrent users registered with the broker at the time the broker received the request. The usage information includes the date and time of the report, the number of licensed users, the total number of users, user name, client URL, and client register time, and also includes the date and time of the peak usage.
Both of the options, -pu and - cu, can be specified at the same time but at least one of them must be specified. To run hgetusg, you must log in as a
CA Harvest SCM
administrator.
This command has the following format:
hgetusg {-b 
name
} {-usr 
username
 -pw 
password
} [-pu] [-cu] [-prompt] [-o 
filename
 | -oa
 filename
] [-h]
  • -b 
    name
    (Required) Specifies the 
    CA Harvest SCM
     broker name.
  • -usr 
    username
    (Required, unless -prompt is specified) Specifies the user name for login to the broker. If -usr is defined without -pw, the user is prompted for the password at runtime.
  • -pw 
    password
    (Required, unless -prompt is specified) Specifies the password for login to the broker. To hide the password from being exposed in plain text on the command line, use the -prompt option.
  • -pu
    (Optional) Specifies to retrieve the peak concurrent usage.
  • -cu
    (Optional) Specifies to retrieve current usage.