stardog-admin server profile Manual Page


stardog-admin server profile —Profile server (CPU, heap allocations, locks)


stardog-admin server profile [ {-d | --duration} <duration> ] [ {-e | --event} <event> ] [ {-f | --file} <outputFile> ] [ {-h | --host} <Database Host> ] [ {-le | --listAvailableEvents} ] [ {-p | --port} <JMX Port> ] [ {-r | --reverse-flamegraph} ]


-d <duration>, --duration <duration>
Profiling duration, in seconds. Default is 30 seconds.
-e <event>, --event <event>
Profiling event, one of cpu, alloc, lock, etc. The default is cpu. To list all available options use --listAvailableEvents option
-f <outputFile>, --file <outputFile>
Result output file. If not provided, the result is dumped in console. If the provided file name has .svg extension, flamegraph is written out, otherwise (and also when the file is not provided) plain text summary+stacks output.
-h <Database Host>, --host <Database Host>
Stardog database host. Default is localhost.
-le, --listAvailableEvents
An option to list all available profiling events, to specify one with --event option.
-p <JMX Port>, --port <JMX Port>
Stardog database JMX port. The default is 5833
-r, --reverse-flamegraph
If the output format is .svg (see -f option), a reserved flamegraph is generated. It's useful to visualize profiling results when some hot 'leaf' methods are called from many different places. Default: false.