# RPC calls

## `pike.top`

Pike.top behaves like a 'top' command and shows source IP addresses of incoming requestes to pike_check_req() function.

The IP list is sorted by sum of leaf hits (prev and curr) descending and in second level by hits.

Some IPs could be marked as HOT depending on theirs request rates.

pike.top command can take one string parameter which specifies what kind of nodes you are interested in. Possible values are HOT or ALL. If no argument is given, it behaves as HOT was used.

Marking nodes HOT is done on server side, client only presents given data and make some postprocessing like sorting.

Output of this command is a simple dump of ip_tree nodes marked as ip-leafs.

### Using `pike.top`

    ...
    &kamcli; rpc pike.top ALL
    ...

## `pike.list`

Alias for "pike.top" command.