Main Content

Server Management Using Command-Line Scripts forWindows,Linux, andmacOS

Command-line tools for managing a server instance

You can manageMATLAB®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.

Core Management

mps-setup Set up server environment from command line onWindows,Linux, andmacOSsystems
mps-new Create server instance from command line onWindows,Linux, andmacOSsystems
mps-start Start server instance from command line onWindows,Linux, andmacOSsystems
mps-stop Stop server instance from command line onWindows,Linux, andmacOSsystems
mps-restart Stop and start server instance from command line onWindows,Linux, andmacOSsystems
mps-service Create or modifyWindowsservice for server instance from command line onWindowssystems
mps-cache Control persistence service from command line onWindows,Linux, andmacOSsystems

License Management

mps-license-reset Force server instance to immediately attempt license checkout from command line onWindows,Linux, andmacOSsystems

Troubleshooting

mps-check Test and diagnose server instance for problems from command line onWindows,Linux, andmacOSsystems
mps-profile Log profile information for server instance from command line onWindows,Linux, andmacOSsystems
mps-status Display status of server instance from command line onWindows,Linux, andmacOSsystems
mps-support-info Display licensing and configuration information of server instance from command line onWindows,Linux, andmacOSsystems
mps-which Display path to server instance that is currently using configured port from command line onWindows,Linux, andmacOSsystems