org.gridgain.visor.commands.events

VisorEventsCommand

class VisorEventsCommand extends AnyRef

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.
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. VisorEventsCommand
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VisorEventsCommand()

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def events(args: String): Unit

    Queries events from specified node filtered by type and/or time frame.

    Command

    Queries events from specified node filtered by type and/or time frame.

    Examples

    <ex>events "-id8=12345678"</ex> Queries all events from node with '12345678' ID8.

    <ex>events "-id8=12345678 -e=di,ca"</ex> Queries discovery and cache events from node with '12345678' ID8.

    args

    Command parameters.

  9. def events(): Unit

    Starts command in interactive mode.

    Command

    Starts command in interactive mode.

    Examples

    <ex>events</ex> Starts command in interactive mode.

  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped