Visor 'disco' command implementation.
Visor 'disco' command implementation.
+---------------------------------------------------------------------------------------+ | disco | Prints topology change log as seen from the oldest node. | | | Timeframe for querying events can be specified in arguments. | | | | | | 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. | +---------------------------------------------------------------------------------------+
disco
disco "{-t=s|m|h|d} {-r} {-c=}" -t=<num>s|m|h|d
Defines timeframe for querying events:
=<num>s Events fired during last <num> seconds.
=<num>m Events fired during last <num> minutes.
=<num>h Events fired during last <num> hours.
=<num>d Events fired during last <num> days.
-r
Defines whether sorting should be reversed.
-c=<n>
Defines the maximum events count that can be shown.disco
Prints all discovery events sorted chronologically (oldest first).
disco "-r"
Prints all discovery events sorted chronologically in reversed order (newest first).
disco "-t=2m"
Prints discovery events fired during last two minutes sorted chronologically.
Companion object that does initialization of the command.
Overview
Visor 'disco' command implementation.
Help
Specification
disco disco "{-t=s|m|h|d} {-r} {-c=}" Arguments
-t=<num>s|m|h|d Defines timeframe for querying events: =<num>s Events fired during last <num> seconds. =<num>m Events fired during last <num> minutes. =<num>h Events fired during last <num> hours. =<num>d Events fired during last <num> days. -r Defines whether sorting should be reversed. -c=<n> Defines the maximum events count that can be shown.Examples
disco Prints all discovery events sorted chronologically (oldest first). disco "-r" Prints all discovery events sorted chronologically in reversed order (newest first). disco "-t=2m" Prints discovery events fired during last two minutes sorted chronologically.