此内容没有您所选择的语言版本。

2.3. CLI Files and Directories


These are the directories and relevant files for the CLI utility.
Expand
Table 2.1. Important CLI Utility Directories and Files
File or Directory Description
cliRoot/rhq-remoting-cli-3.1.2.GA The installation directory. The CLI utility is simply unzipped, so the installation directory can be anywhere on a system.
CLI Scripts
cliRoot/rhq-remoting-cli-3.1.2.GA/bin Contains both Linux (shell) and Windows (batch) scripts for the CLI utility.
rhq-cli.sh | rhq-cli.bat The CLI utility.
rhq-cli-env.sh | rhq-cli-env.bat Sets environment variables for the CLI utility, such as the Java home directory and Java options.
Samples
cliRoot/rhq-remoting-cli-3.1.2.GA/samples Contains both sample JavaScript files and supplemental JavaScript files which can be adapted to work with other scripts.
util.js A utility script which provides additional functions for search, mapping, and listing objects.
measurement_utils.js A utility script which simplifies updating metrics schedules. Instead of having to understand the underlying measurement APIs, it provides a way to define the metrics to change based on their friendly (UI) name and then both enables/disables and sets collection intervals in simpler terms.
drift.js A sample script which contains functions to create a snapshot, search for a specific drift definition, compare snapshots, and view drift histories.
bundles.js A sample script which sets up a bundles definition. This includes generating a bundle archive, creating a destination group, and then deploying the bundle.
deploy-to-and-restart-JBAS.js A sample script which deploys a new bundle or updated bundle to a group of JBoss servers, and then restarts the servers in the destination group.
Logging
cliRoot/rhq-remoting-cli-3.1.2.GA/conf Contains the XML files to configure the log4j logger for the CLI utility.
log4j.xml
log4j-debug.xml
Sets the configuration for regular and debug logging for the CLI utility.
cliRoot/rhq-remoting-cli-3.1.2.GA/logs Contains the error logs for the CLI utility. This directory is created when the CLI is first run.
rhq-server-cli.log The error log for the CLI utility.
Libraries
cliRoot/rhq-remoting-cli-3.1.2.GA/lib Contains all of the libraries used specifically by the CLI utility, including some libraries for proxy resources and CLI-specific commands.
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat