# RPC Commands

## `cnt.get`

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

Prototype: cnt.get group counter_name

### `cnt.get grp counter_name` usage

     $ &sercmd; cnt.get script foo

## `cnt.reset`

Resets the counter identified by group.counter_name.

Prototype: cnt.reset group counter_name

### `cnt.reset grp name` usage

     $ &sercmd; cnt.reset script foo

## `cnt.list_groups`

Lists all the declared counter groups.

Prototype: cnt.list_groups

### `cnt.list_groups` usage

     $ &sercmd; cnt.list_groups

## `cnt.grps_list`

Alias to cnt.list_groups.

## `cnt.list_vars`

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

Prototype: cnt.list_vars group

### `cnt.list_vars group` usage

     $ &sercmd; cnt.list_vars tmx

## `cnt.var_list`

Alias to cnt.list_vars.

## `cnt.get_vars`

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

Prototype: cnt.get_vars group

### `cnt.get_vars group` usage

     $ &sercmd; cnt.get_vars script

## `cnt.grp_get_all`

Alias to cnt.get_vars.

## `cnt.help`

Displays the counter description.

Prototype: cnt.help group counter_name

### `cnt.help grp name` usage

     $ &sercmd; cnt.help script foo