This software focuses on providing access to JMX tools and modules, allowing users to monitor and manage resources running on the Java Virtual Machine (JVM). It offers comprehensive support for JMX features, enabling users to monitor application performance, detect issues, and resolve errors efficiently.
Jmx4perl can be utilized in two different modes. First, you can use it directly by providing the agent-url. Alternately, you can enter an interactive mode if you do not provide the agent-url or if you use the command line options "--shell" (this feature is still under development). Furthermore, Jmx4perl also provides an example of how to use the JMX::Jmx4Perl package, so you can refer to its documentation for more details on how to embed JMX access into your own software applications.
In order to get started with Jmx4perl, you can use the following SYNOPSIS commands:
- "jmx4perl"
- "jmx4perl .... --shell"
- "jmx4perl .... < agent-url > ["info"]"
- "jmx4perl .... < agent-url > read < mbean-name > < attribute-name > [path]"
- "jmx4perl .... < agent-url > write < mbean-name > < attribute-name > < value > [path]"
- "jmx4perl .... < agent-url > exec < mbean-name > < operation > < arg1 > < arg2 > ..."
- "jmx4perl .... < agent-url > search < mbean pattern >"
- "jmx4perl .... < agent-url > list"
- "jmx4perl .... < agent-url > attributes [max-depth max-list-size max-objects]"
- "jmx4perl .... aliases"
- "jmx4perl --help"
- "jmx4perl --version"
In addition, Jmx4perl provides several options that you can use to customize your experience. These options include:
- "--product < id >" (Product to use for aliasing, omits autodetection)
- "--user < user >" (Credential used for authentication)
- "--password < pwd >"
- "--proxy < url >" (URL to proxy)
- "--proxy-user < user >" (Authentication information for a proxy)
- "--proxy-password < pwd >"
- "--config" (Path to an optional configuration file, default: ~/.j4p)
- "--history" (Print out the history of return values, if switched on and present)
- "--verbose" (Prints out more information)
Overall, Jmx4perl is a great way to access instrumented application servers via Perl command-line. With its multiple modes and options, Jmx4perl provides plenty of flexibility to configure your JMX access to your liking.
Version 0.36: N/A