nodetool tpstats — 스레드 풀 사용 통계 출력

nodetool tpstats — 스레드 풀 사용 통계 출력

이 명령은 Cassandra의 각 스레드 풀(thread pool)에 대한 사용 통계를 출력해요. 큐에 쌓인 작업 수와 처리 중인 작업 수를 확인해, 노드가 과부하 상태인지(예: 컴팩션이나 쓰기가 밀리는지)를 진단하는 데 사용합니다.

출처: nodetool tpstats — 스레드 풀 사용 통계 출력

본문

실제 사용 구문은 아래와 같아요. 옵션 설명은 명령의 도움말(usage)을 그대로 옮긴 것이니, 실행 환경에 맞춰 필요한 옵션만 골라 사용하면 됩니다.

NAME
        nodetool tpstats - Print usage statistics of thread pools

SYNOPSIS
        nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
                [(-pp | --print-port)] [(-pw <password> | --password <password>)]
                [(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
                [(-u <username> | --username <username>)] tpstats
                [(-F <format> | --format <format>)]

OPTIONS
        -F <format>, --format <format>
            Output format (json, yaml)

        -h <host>, --host <host>
            Node hostname or ip address

        -p <port>, --port <port>
            Remote jmx agent port number

        -pp, --print-port
            Operate in 4.0 mode with hosts disambiguated by 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

더 알아보기 (Learn more)