~/working$ gfsh help show metrics
NAME
    show metrics
IS AVAILABLE
    false
SYNOPSIS
    Display or export metrics for the entire distributed system, a member or a 
region.
SYNTAX
    show metrics [--member=value] [--region=value] [--file=value] 
[--port=value] [--categories=value(,value)*]
PARAMETERS
    member
        Name/Id of the member whose metrics will be displayed/exported.
        Required: false
    region
        Name/Path of the region whose metrics will be displayed/exported.
        Required: false
    file
        Name of the file to which metrics will be written.
        Required: false
    port
        Port number of the Cache Server whose metrics are to be 
displayed/exported. This can only be used along with the --member parameter.
        Required: false
    categories
        Categories available based upon the parameters specified are:
        - no parameters specified: cluster, cache, diskstore, query
        - region specified: cluster, region, partition, diskstore, callback, 
eviction
        - member specified: member, jvm, region, serialization, communication, 
function, transaction, diskstore, lock, eviction, distribution
        - member and region specified: region, partition, diskstore, callback, 
eviction
        Required: false

~/working$ gfsh -e "connect" -e "show metrics --member=l1"

(1) Executing - connect

Connecting to Locator at [host=localhost, port=10334] ..
Connecting to Manager at [host=192.168.1.4, port=1099] ..
Successfully connected to: [host=192.168.1.4, port=1099]


(2) Executing - show metrics --member=l1


Member Metrics

  Category    |              Metric              | Value
------------- | -------------------------------- | -------------------
member        | upTime                           | 82
              | cpuUsage                         | 0.24215784668922424
              | currentHeapSize                  | 82
              | maximumHeapSize                  | 3641
…

Anthony



> On May 22, 2016, at 6:18 AM, Daniel Farcovich <[email protected]> 
> wrote:
> 
> Hi Everyone,
> Is earlier versions of Gemfire there was a command named stats, which printed 
> statistic values from a statistic archive file.
> How can I use it in GEODE? Is there a gfsh corresponding command?
> 
> Thanks,
> Daniel Farcovich
> 
> 
> This message and the information contained herein is proprietary and 
> confidential and subject to the Amdocs policy statement,
> you may review at http://www.amdocs.com/email_disclaimer.asp

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to