Getting environment details

The environment (env) endpoint provides information about the operating system, JVM installation, classpath, system environment variables, and the values that have been configured in various application properties files. The following screenshot shows the environment endpoint in the HAL browser:

An extract from the response from the /actuator/env service is shown here. It shows a few system details, as well as the details from application configuration:

{ "name": "systemProperties",
      "properties": {
        "java.runtime.name": {
          "value": "Java(TM) SE Runtime Environment"
        },
        "sun.boot.library.path": {
          "value": "/Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/jre/lib"
        },
        "path.separator": {
          "value": ":"
        },
        "java.vm.name": {
          "value": "Java HotSpot(TM) 64-Bit Server VM"
        },
        "sun.os.patch.level": {
          "value": "unknown"
        },
Some of the content has been removed for the sake of brevity.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset