SYS.DUMP_STACKS

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

See also print-stacks for information about writing thread stacks to standard out or to a specified file.

Syntax

SYS.DUMP_STACKS (
IN ALL BOOLEAN
)
ALL
Specifies boolean value: "true" to log stack trace information for all GemFire XD members, or "false" to log information only for the local GemFire XD member.

Example

This command writes thread stack information only for the local GemFire XD member. The stack information is written to the GemFire XD log file (by default gfxdserver.log in the member startup directory):
gfxd> call sys.dump_stacks('false');
Statement executed.

See print-stacks for an example of the partial thread stack output.