nodetool sjk — Swiss Java Knife 명령 실행

nodetool sjk — Swiss Java Knife 명령 실행

이 명령은 Cassandra JVM 내부 진단 도구인 'Swiss Java Knife'의 명령을 실행해요. nodetool sjk 만 실행하면 사용 가능한 하위 명령 목록이 출력되므로, 먼저 도움말을 확인한 뒤 필요한 진단 명령을 조합해 사용하면 된답니다.

출처: nodetool sjk — Swiss Java Knife 명령 실행

본문

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

NAME
        nodetool sjk - Run commands of 'Swiss Java Knife'. Run 'nodetool sjk
        --help' for more information.

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>)] sjk [--] [<args>...]

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

        <args>
            Arguments passed as is to 'Swiss Java Knife'.

더 알아보기 (Learn more)