Chapter 8. Commanding the CLI

In this chapter, you will learn the following recipes:

  • Invoking CLI commands
  • Checking the WildFly version
  • Checking WildFly operational mode
  • Getting the OS version
  • Getting the JVM version
  • Checking the JVM options
  • Checking JVM memories – heap-size and all
  • Checking the server status
  • Checking the JNDI tree view
  • Invoking CLI commands declared in an external file

Introduction

In this chapter, you will learn how to use the CLI to grab the information that you need. The CLI also provides a method to execute commands outside it, by specifying the WildFly to connect to and the command to be executed. Furthermore, WildFly provides you with an HTTP API, which can be used to perform action and to also retrieve information. Most of this API ...

Get WildFly Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.