이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 21. shell


21.1. shell:completion

21.1.1. Description

Display or change the completion mode on the current console session.

21.1.2. Syntax

shell:completion [options] [mode]

21.1.3. Arguments

NameDescription

mode

The completion mode to set. The valid completion modes are: global, first, subshell.

21.1.4. Options

NameDescription

--help

Display this help message

21.2. shell:exec

21.2.1. Description

Executes system processes.

21.2.2. Syntax

shell:exec [options] command

21.2.3. Arguments

NameDescription

command

Execution command with arguments

21.2.4. Options

NameDescription

--help

Display this help message

21.3. shell:info

21.3.1. Description

Prints system information.

21.3.2. Syntax

shell:info [options]

21.3.3. Options

NameDescription

--help

Display this help message

--memory-pools, -mp

Includes detailed information about memory pools

21.4. shell:java

21.4.1. Description

Executes a Java standard application.

21.4.2. Syntax

shell:java [options] className [arguments]

21.4.3. Arguments

NameDescription

className

The name of the class to invoke

arguments

Arguments to pass to the method of the given class

21.4.4. Options

NameDescription

--help

Display this help message

-m, --method

Invoke a named method

21.5. shell:logout

21.5.1. Description

Disconnects shell from current session.

21.5.2. Syntax

shell:logout [options]

21.5.3. Options

NameDescription

--help

Display this help message

21.6. shell:printf

21.6.1. Description

Formats and prints arguments.

21.6.2. Syntax

shell:printf [options] format arguments

21.6.3. Arguments

NameDescription

format

The format pattern to use

arguments

The arguments for the given format pattern

21.6.4. Options

NameDescription

--help

Display this help message

21.7. shell:source

21.7.1. Description

Run a script

21.7.2. Syntax

shell:source [options] script [args]

21.7.3. Arguments

NameDescription

script

A URI pointing to the script

args

Arguments for the script

21.7.4. Options

NameDescription

--help

Display this help message

21.8. shell:stack-traces-print

21.8.1. Description

Prints the full stack trace in the console when the execution of a command throws an exception.

21.8.2. Syntax

shell:stack-traces-print [options] [print]

21.8.3. Arguments

NameDescription

print

Print stack traces or not (defaults to true)

21.8.4. Options

NameDescription

--help

Display this help message

21.9. shell:threads

21.9.1. Description

Prints the current threads (optionally with stacktraces)

21.9.2. Syntax

shell:threads [options] [id]

21.9.3. Arguments

NameDescription

id

Show details for thread with this Id

21.9.4. Options

NameDescription

--tree

Display threads as a tree

--list

Display threads as a list

-e, --empty-groups

Show empty groups

--packages

Pruned packages

--help

Display this help message

--monitors

Display monitors

-t, --threshold

Minimal number of interesting stack trace line to display a thread

--locks

Display locks

--no-format

Disable table rendered output

21.10. shell:ttop

21.10.1. Description

Display threads information

21.10.2. Syntax

shell:ttop [options]

21.10.3. Options

NameDescription

--seconds, -s

Delay between updates in seconds

--order, -o

Comma separated list of sorting keys

--millis, -m

Delay between updates in milliseconds

--nthreads, -n

Only display up to NTHREADS threads

--help

Display this help message

--stats, -t

Comma separated list of stats to display

21.11. shell:watch

21.11.1. Description

Watches & refreshes the output of a command

21.11.2. Syntax

shell:watch [options] command

21.11.3. Arguments

NameDescription

command

The command to watch / refresh

21.11.4. Options

NameDescription

--help

Display this help message

-n, --interval

The interval between executions of the command in seconds

-a, --append

The output should be appended but not clear the console

Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

© 2024 Red Hat, Inc.