Main Content

Server Management Using Command-Line Scripts for Windows, Linux, and macOS

Command-line tools for managing a server instance

You can manage MATLAB® Production Server™ instances using a number of command-line tools that have UNIX-like syntax. These tools are not available for server instances running on the cloud.

Properties

Server Configuration PropertiesConfigure MATLAB Production Server instance using configuration file or dashboard

Core Management

mps-setupSet up server environment from command line on Windows, Linux, and macOS systems
mps-newCreate server instance from command line on Windows, Linux, and macOS systems
mps-startStart server instance from command line on Windows, Linux, and macOS systems
mps-stopStop server instance from command line on Windows, Linux, and macOS systems
mps-restartStop and start server instance from command line on Windows, Linux, and macOS systems
mps-serviceCreate or modify Windows service for server instance from command line on Windows systems
mps-cacheControl persistence service from command line on Windows, Linux, and macOS systems

License Management

mps-license-resetForce server instance to immediately attempt license check out from command line on Windows, Linux, and macOS systems

Troubleshooting

mps-checkTest and diagnose server instance for problems from command line on Windows, Linux, and macOS systems
mps-profileLog profile information for server instance from command line on Windows, Linux, and macOS systems
mps-statusDisplay status of server instance from command line on Windows, Linux, and macOS systems
mps-support-infoDisplay licensing and configuration information of server instance from command line on Windows, Linux, and macOS systems
mps-whichDisplay path to server instance that is currently using configured port from command line on Windows, Linux, and macOS systems