Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.

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.
Nach oben
Red Hat logoGithubredditYoutubeTwitter

Lernen

Testen, kaufen und verkaufen

Communitys

Über Red Hat Dokumentation

Wir helfen Red Hat Benutzern, mit unseren Produkten und Diensten innovativ zu sein und ihre Ziele zu erreichen – mit Inhalten, denen sie vertrauen können. Entdecken Sie unsere neuesten Updates.

Mehr Inklusion in Open Source

Red Hat hat sich verpflichtet, problematische Sprache in unserem Code, unserer Dokumentation und unseren Web-Eigenschaften zu ersetzen. Weitere Einzelheiten finden Sie in Red Hat Blog.

Über Red Hat

Wir liefern gehärtete Lösungen, die es Unternehmen leichter machen, plattform- und umgebungsübergreifend zu arbeiten, vom zentralen Rechenzentrum bis zum Netzwerkrand.

Theme

© 2025 Red Hat