Get info about the running application

4D v17 R3 takes your database analysis a step further by enabling you to create a customized server administration dialog. Following the ability to retrieve information about users & processes, getting all runtime information about 4D Web server, getting details about the active license, and getting all of the hardware and system details, you now also have the ability to retrieve the activity and network configuration of the running database.

Do you need to know on which IP address and port the database is listening, if communications between the client and the server are encrypted, or if the legacy network layer is used? Just call the new command, Get application info. And that’s not all! This command also returns information about the database such as: the amount of CPU used, the time since its been started, and the list goes on.

Example: Get application info

What kind of information can I retrieve?

The Get application info command returns an object containing the information shown below:

{
    "launchedAsService": false,
    "volumeShadowCopyStatus": "notAvailable",
    "cpuUsage": "10.32",
    "portID": "19814",
    "TLSEnabled": "false",
    "uptime": "9426",
    "useLegacyNetworkLayer": "false",
    "newConnectionsAllowed": "true",
    "IPAddressesToListen": [
        "192.168.18.6",
        "172.16.73.1"
    ],
    "IPAddressesAllowDeny": [
      {
        "ip": "192.168.18.6",
	"mode": "allow"
      },
      {
	"ip": "192.168.18.2",
	"mode": "deny"
      },
      {
	"ip": "192.168.18.1",
	"mode": "allow"
      }
    ],
    "networkInputThroughput": "149014925",
    "networkOutputThroughput": "80238805"
}
  

This command can be called on both remote clients as well as 4D Server. Download the application example above to learn more. Note that some information may or may not be returned depending on the machine running the command. See the documentation for more information.

In addition, the new OpenSSL version selector is available for the Get database parameter command. Check out the documentation to learn more.

 

Avatar
• Product Owner • Marie-Sophie Landrieu-Yvert has joined the 4D Product team as a Product Owner in 2017. As a Product Owner, she is in charge of writing the user stories then translating it to functional specifications. Her role is also to make sure that the feature implementation delivered is meeting the customer need.Marie-Sophie graduated from the ESIGELEC Engineering School and began her career as an engineer at IBM in 1995. She participated on various projects (maintenance or build projects) and worked as a Cobol developer. Then she worked as an UML designer and Java developer. Lately her main roles were analyzing and writing functional requirements, coordinate business and development teams.