# counters RPC Functions

## `cnt.get group counter_name`

Get the value of the counter identified by group.counter_name.

### `cnt.get grp counter_name` usage

     $ &sercmd; cnt.get script foo

## `cnt.reset group counter_name`

Resets the counter identified by group.counter_name.

### `cnt.reset grp name` usage

     $ &sercmd; cnt.reset script foo

## `cnt.grps_list`

Lists all the declared counter groups.

### `cnt.grps_list` usage

     $ &sercmd; cnt.grps_list

## `cnt.var_list group`

Lists all the names of all the counters belonging to the specified group.

### `cnt.var_list group` usage

     $ &sercmd; cnt.var_list script

## `cnt.grp_get_all`

Lists all the counter names and their values in the specified group.

### `cnt.var_list group` usage

     $ &sercmd; cnt.grp_get_all script

## `cnt.help group counter_name`

Displays the counter description.

### `cnt.help grp name` usage

     $ &sercmd; cnt.help script foo