mps-check

Test and diagnose a MATLAB Production Server instance for problems

Synopsis

mps-check [--timeout seconds] host:port

Description

mps-check sends a request to a MATLAB® Production Server™ instance and receives a status report that is used to identify issues that cause the product to run less than optimally.

Information reported by mps-check to stdout include:

  • Status of the server instance

  • Port the HTTP interface is listening on

  • Deployed archives for a server instance

Before using mps-check, you must deploy mcrroot/bin/arch/mps_check.ctf to the server instance.

  • mcrroot is the path to the MATLAB Runtime's installation folder.

  • arch is standard abbreviation for the system's operating system and hardware architecture.

Input Arguments

  • --timeout seconds — The time, in seconds, to wait for a response from the server before timing out. The default is two minutes.

  • host — The host name of the machine running the server instance.

  • port — The port number on which the server instance listens for requests.

Definitions

Server Instance

An instance of the MATLAB Production Server. The files contained in the folder created by mps-new, defined by path/, comprise one configuration of the MATLAB Production Server product.

Examples

Display diagnostic information for the server instance running on port 9910 of the local computer.

mps-check localhost:9910 
Connecting to localhost:9910
Connected
Sending HTTP request
HTTP request sent
HTTP response received
MPS status check completed successfully

Introduced in R2012b

Was this topic helpful?