server commands

The server commands perform Open Liberty server functions that include creating a server, starting a server, and stopping a server.

You can also perform a server memory dump, which creates a snapshot of the server and saves the result into an archive file, or run a server in debug mode.

With these commands, you can manage basic operation of an Open Liberty server.

The following server commands are available:

  • server create: The command creates an Open Liberty server.

  • server debug: The command starts the specified Open Liberty server in debug mode.

  • server dump: The command creates a snapshot of a server and saves the result into an archive file for further tuning and diagnosis.

  • server help: The command displays information about the server command, with details about its actions and options.

  • server javadump: The command creates a snapshot of the JVM status of a server and saves the result into an archive file for further tuning and diagnosis.

  • server list: The command lists all the defined application servers in the Open Liberty installation.

  • server package: The command packages an Open Liberty server, its resources, and applications in a compressed file that you can store, distribute, or deploy to a different location.

  • server pause: The command pauses all or specific inbound work for an Open Liberty server.

  • server resume: The command resumes all or specific inbound work for an Open Liberty server.

  • server run: The command starts the named Open Liberty server as a foreground process.

  • server start: The command starts the named Open Liberty server as a background process.

  • server status: The command checks to see whether the specified server is running.

  • server stop: The command stops the named Open Liberty server.

  • server version: The command displays the version information of the named server and the current Java runtime environment.