org.gridgain.visor.commands

events

package events

Overview

Visor 'events' commands implementation.

Help

+----------------------------------------------------------------------------------------+
| events | Print events from a node.                                                     |
|        |                                                                               |
|        | Note that this command depends on GridGain events.                            |
|        |                                                                               |
|        | GridGain events can be individually enabled and disabled and disabled events  |
|        | can affect the results produced by this command. Note also that configuration |
|        | of Event Storage SPI that is responsible for temporary storage of generated   |
|        | events on each node can also affect the functionality of this command.        |
|        |                                                                               |
|        | By default - all events are enabled and GridGain stores last 10,000 local     |
|        | events on each node. Both of these defaults can be changed in configuration.  |
+----------------------------------------------------------------------------------------+
Specification
events
events "{-id=|-id8=} {-e=}
    {-t=s|m|h|d} {-s=e|t} {-r} {-c=}"
Arguments
-id=<node-id>
    Full node ID.
    Either '-id' or '-id8' can be specified.
    If called without the arguments - starts in interactive mode.
-id8
    Node ID8.
    Either '-id' or '-id8' can be specified.
    If called without the arguments - starts in interactive mode.
-e=<ch,de,di,jo,ta,cl,ca,sw>
    Comma separated list of event types that should be queried:
       ch Checkpoint events.
       de Deployment events.
       di Discovery events.
       jo Job execution events.
       ta Task execution events.
       ca Cache events.
       cp Cache pre-loader events.
       sw Swapspace events.
-t=<num>s|m|h|d
    Defines time frame for querying events:
       =<num>s Queries events fired during last <num> seconds.
       =<num>m Queries events fired during last <num> minutes.
       =<num>h Queries events fired during last <num> hours.
       =<num>d Queries events fired during last <num> days.
-s=e|t
    Defines sorting of queried events:
       =e Sorted by event type.
       =t Sorted chronologically.
    Only one '=e' or '=t' can be specified.
-r
    Defines if sorting should be reversed.
    Can be specified only with -s argument.
-c=<n>
    Defines the maximum events count that can be shown.
    Values in summary tables are calculated over the whole list of events.
Examples
events "-id8=12345678"
    Queries all events from node with '12345678' ID8.
events "-id8=12345678 -e=di,ca"
    Queries discovery and cache events from node with '12345678' ID8.
events
    Starts command in interactive mode.
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. events
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class VisorEventsCommand extends AnyRef

    Visor 'events' commands implementation.

    Overview

    Visor 'events' commands implementation.

    Help

    +----------------------------------------------------------------------------------------+
    | events | Prints events from a node.                                                     |
    |        |                                                                               |
    |        | Note that this command depends on GridGain events.                            |
    |        |                                                                               |
    |        | GridGain events can be individually enabled and disabled and disabled events  |
    |        | can affect the results produced by this command. Note also that configuration |
    |        | of Event Storage SPI that is responsible for temporary storage of generated   |
    |        | events on each node can also affect the functionality of this command.        |
    |        |                                                                               |
    |        | By default - all events are DISABLED and GridGain stores last 10,000 local     |
    |        | events on each node. Both of these defaults can be changed in configuration.  |
    +----------------------------------------------------------------------------------------+
    Specification
    events
    events "{-id=|-id8=} {-e=}
        {-t=s|m|h|d} {-s=e|t} {-r} {-c=}"
    Arguments
    -id=<node-id>
        Full node ID.
        Either '-id' or '-id8' can be specified.
        If called without the arguments - starts in interactive mode.
    -id8
        Node ID8.
        Either '-id' or '-id8' can be specified.
        If called without the arguments - starts in interactive mode.
    -e=<ch,de,di,jo,ta,ca,cp,sw,au>
        Comma separated list of event types that should be queried:
           ch Checkpoint events.
           de Deployment events.
           di Discovery events.
           jo Job execution events.
           ta Task execution events.
           cl Cloud events.
           ca Cache events.
           cp Cache pre-loader events.
           sw Swapspace events.
           au Authentication events.
              az Authorization events.
              se Security session events.
    -t=<num>s|m|h|d
        Defines time frame for querying events:
           =<num>s Queries events fired during last <num> seconds.
           =<num>m Queries events fired during last <num> minutes.
           =<num>h Queries events fired during last <num> hours.
           =<num>d Queries events fired during last <num> days.
    -s=e|t
        Defines sorting of queried events:
           =e Sorted by event type.
           =t Sorted chronologically.
        Only one '=e' or '=t' can be specified.
    -r
        Defines if sorting should be reversed.
        Can be specified only with -s argument.
    -c=<n>
        Defines the maximum events count that can be shown.
        Values in summary tables are calculated over the whole list of events.
    Examples
    events "-id8=12345678"
        Queries all events from node with '12345678' ID8.
    events "-id8=12345678 -e=di,ca"
        Queries discovery and cache events from node with '12345678' ID8.
    events
        Starts command in interactive mode.

Value Members

  1. object VisorEventsCommand

    Companion object that does initialization of the command.

Inherited from AnyRef

Inherited from Any

Ungrouped