mirror of https://github.com/apache/cassandra
46 lines
1.7 KiB
Plaintext
46 lines
1.7 KiB
Plaintext
NAME
|
|
nodetool profile start - Run Async-Profiler on a Cassandra process
|
|
|
|
SYNOPSIS
|
|
nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
|
|
[(-pw <password> | --password <password>)]
|
|
[(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
|
|
[(-u <username> | --username <username>)] profile start
|
|
[(-d <duration> | --duration <duration>)]
|
|
[(-e <event> | --event <event>)...]
|
|
[(-f <outputFormat> | --format <outputFormat>)]
|
|
[(-o <filename> | --output <filename>)]
|
|
|
|
OPTIONS
|
|
-d <duration>, --duration <duration>
|
|
Duration of profiling, defaults to '60s'. Accepts string values in
|
|
the form of '5m', '30s' and similar.
|
|
|
|
-e <event>, --event <event>
|
|
Event(s) to profile, one of or combination of 'cpu', 'alloc',
|
|
'lock', 'wall', 'nativemem', 'cache_misses', delimited by comma,
|
|
defaults to 'cpu'
|
|
|
|
-f <outputFormat>, --format <outputFormat>
|
|
Output format, one of 'flat', 'traces', 'collapsed', 'flamegraph',
|
|
'tree', 'jfr', defaults to 'flamegraph'
|
|
|
|
-h <host>, --host <host>
|
|
Node hostname or ip address
|
|
|
|
-o <filename>, --output <filename>
|
|
File name to save profiling results into, defaults to a file of
|
|
name 'yyyy-MM-dd-HH-mm-ss.html'
|
|
|
|
-p <port>, --port <port>
|
|
Remote jmx agent port number
|
|
|
|
-pw <password>, --password <password>
|
|
Remote jmx agent password
|
|
|
|
-pwf <passwordFilePath>, --password-file <passwordFilePath>
|
|
Path to the JMX password file
|
|
|
|
-u <username>, --username <username>
|
|
Remote jmx agent username
|