SYS.DUMP_STACKS

Writes thread stacks, locks, and transaction states to the SnappyData log file. You can write stack information either for the current SnappyData member or for all SnappyData members in the distributed system.

Syntax

SYS.DUMP_STACKS (
IN ALL BOOLEAN
)

ALL
Specifies boolean value: true to log stack trace information for all SnappyData members, or false to log information only for the local SnappyData member.

Example

This command writes thread stack information only for the local SnappyData member. The stack information is written to the SnappyData log file (by default snappyserver.log in the member startup directory):

snappy> call sys.dump_stacks('false');

Also see: