nodetool getconcurrency — 처리 단계의 최대 동시성 조회
nodetool getconcurrency — 처리 단계의 최대 동시성 조회
getconcurrency 명령은 Cassandra 노드에서 처리 단계(stage)별로 허용된 최대 동시성(concurrency)을 조회하는 nodetool 명령이에요. 실행 중인 스레드 풀이 각 처리 단계에서 몇 개의 작업을 동시에 처리하도록 설정되어 있는지 확인할 때 씁니다.
본문
이 명령은 노드의 처리 스테이지가 보유한 최대 동시 실행 수를 출력해요. 단계 이름(예: Misc, ReadStage, WriteStage 같은 스테이지명)을 생략하면 모든 스테이지의 값을 보여 줍니다. 특정 스테이지만 지정하면 해당 스테이지의 값만 확인할 수 있어요.
원문의 사용법은 다음과 같습니다.
NAME
nodetool getconcurrency - Get maximum concurrency for processing stages
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>)] getconcurrency [--]
[stage-names]
OPTIONS
-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
--
This option can be used to separate command-line options from the
list of argument, (useful when arguments might be mistaken for
command-line options
[stage-names]
optional list of stage names, otherwise display all stages
옵션을 하나씩 살펴볼게요.
-h <host>, --host <host>— 대상 노드의 호스트명 또는 IP 주소를 지정해요.-p <port>, --port <port>— 원격 JMX 에이전트 포트 번호를 지정해요.-pp, --print-port— 호스트를 포트 번호로 구분하는 4.0 모드로 동작해요.-pw <password>, --password <password>— 원격 JMX 에이전트 비밀번호를 지정해요.-pwf <passwordFilePath>, --password-file <passwordFilePath>— JMX 비밀번호 파일의 경로를 지정해요.-u <username>, --username <username>— 원격 JMX 에이전트 사용자 이름을 지정해요.--— 명령줄 옵션과 인자 목록을 구분할 때 써요. 인자가 명령줄 옵션으로 오인될 수 있을 때 유용해요.[stage-names]— 조회할 처리 스테이지 이름 목록이에요. 생략하면 모든 스테이지를 보여 줍니다.
조회한 값은 setconcurrency 명령으로 바꿀 수 있어요.
더 알아보기
- nodetool setconcurrency — 처리 스테이지의 최대 동시성을 설정
- nodetool 노드 정보 조회 — nodetool 명령 전체 목록