Skip to main content
Skip table of contents

Resetting statistics

To get more accurate statistics, you can remove statistics from nodes that are no longer available. You can also reset statistics, either for a single attribute of a node or for an entire node.

There are three available commands for resetting statistics. Their availability depends on the statistics you want to reset.

removeStale

Removes all statistics from nodes that are no longer available. You can only invoke this command on the Available node.

reset

Resets the statistics for a particular attribute of the current node. You can invoke this command from any node except Available, Administration, or Java Virtual Machine.

resetAll

Resets all statistics for the current node. You can invoke this command from any node except Available, Administration, or Java Virtual Machine.

To reset statistics using NexJ System Admin Console:

  1. In NexJ System Admin Console, navigate to the Statistics page.
  2. Find and select the node whose statistics you want to reset by expanding the node for your NexJ application, for example, nexj.financeThe statistics for the selected node display on top of the details area. Any available commands display on the bottom of the details area.
  3. [Optional] Remove statistics from nodes that are no longer available.
    1. Select the Available node.
    2. Double-click the removeStale command in the details area. The Invoke resetStale command dialog opens.
    3. Click Invoke. A message in the Results area indicates that you must refresh statistics after closing the dialog. If you are resetting statistics on a remote or cluster server, the message "Operation will run asynchronously" may display instead.
    4. Click the Close button 
       on the top right corner of the dialog. 
      A confirmation dialog opens.
    5. Click to close the confirmation dialog. The confirmation and Invoke resetStale command dialogs close.
  4. [Optional] Reset statistics for a particular attribute.
    1. Select the node in the statistics tree.
    2. Double-click the reset command in the details area. The Invoke reset command dialog opens.
    3. Double-click in the Value column in the table. The text entry field appears.
    4. Enter the full name of the attribute in the text entry field. 
    5. Click Invoke. A message in the Results area indicates that you must refresh statistics after closing the dialog. If you are resetting statistics on a remote or cluster server, the message "Operation will run asynchronously" may display instead.
    6. Click the Close button 
       on the top right corner of the dialog. 
      A confirmation dialog opens.
    7. Click to close the confirmation dialog. The confirmation and Invoke resetStale command dialogs close.
  5. [Optional] Reset all the statistics for a node.
    1. Select the node in the statistics tree.
    2. Double-click the resetAll command in the details area. The Invoke resetAll command dialog opens.
    3. Click Invoke. A message in the Results area indicates that you must refresh statistics after closing the dialog. If you are resetting statistics on a remote or cluster server, the message "Operation will run asynchronously" may display instead.
    4. Click the Close button 
       on the top right corner of the dialog. 
      A confirmation dialog opens.
    5. Click to close the confirmation dialog. The confirmation and Invoke resetStale command dialogs close.
  6. Click the Refresh button 
     on the top right corner of the details area. 
    The updated statistics for the node display in the details area of the screen.

You have reset the statistics.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.