In addition to monitoring counter log files, you can view specified counter values through a console.
opencountersconsole.bat ServerName ContextName
opencountersconsole.sh ServerName ContextName
opencountersconsole.bat PtServer2 collab
This command opens a console to monitor the “collab” application on “PtServer2.” In this example, AquaLogic Interaction Collaboration is installed.
Once you enter the command, you see the counter console startup messages. If the connection to the specified server succeeds, you should see the following (with the server and application names you are monitoring displayed before the command prompt):... Connection success! [ServerName.ContextName]>
CategoryNameContains:InstanceNameContains:CounterNameContains
Each condition in the above expression is optional, and matches a substring of the category, instance, or counter names.
Example, info cache:pref:num
values (v) - Returns all counter names with their current values. Optionally, you can enter a filter expression after the command to limit the information returned.
Example, values cache:pref:num
filterset (fs) - Sets the current filter for the category name, instance name, and counter name. This filter limits the information returned when using the filterget command. If a filterset is not specified, the filterget command matches all available counters. This command uses a filter expression as described under the info command above.
Example: filterset cache:pref:num
Using this example command, followed by the command filterget, gives the same result as using the command values cache:pref:num by itself.
The filterset you specify remains in effect until you set a new one. To reset the filterset to the default value, enter filterset by itself. The default filterset matches all counters.
filtercategory (fc) - Sets the current category name filter. This affects the counters that are returned by the filtergetvalues command. The category names returned contain the substring you enter.
Example: filtercategory Open
The category filter you specify remains in effect until you set a new one.
filterinstance (fi) - Sets the current instance name filter. This affects the counters that are returned by the filtergetvalues command. The instance names returned contain the substring you enter.
Example: filterinstance Total
The instance filter you specify remains in effect until you set a new one.
filtercounter (fr) - Sets the current counter name filter. This affects the counters that are returned by the filtergetvalues command. The counter names returned contain the substring you enter.
Example: filtercounter Bytes
The counter filter you specify remains in effect until you set a new one.
connect (c) - Connects to another host server. This disconnects from the current host server if one is already connected.
Example: connect PtServer4 portal
disconnect (d) - Disconnects from the current host server, if connected.
exit (e) - Exits the console application