Documentation

lms server status Reference

The lms server status command displays the current status of the LM Studio local server, including whether it's running and its configuration.

Parameters

--json (optional) : flag

Output the status in JSON format

--verbose (optional) : flag

Enable detailed logging output

--quiet (optional) : flag

Suppress all logging output

--log-level (optional) : string

The level of logging to use. Defaults to 'info'

Check server status

Get the basic status of the server:

lms server status

Example output:

The server is running on port 1234.

Example usage

āžœ  ~ lms server start
Starting server...
Waking up LM Studio service...
Success! Server is now running on port 1234

āžœ  ~ lms server status
The server is running on port 1234.

JSON output

Get the status in machine-readable JSON format:

lms server status --json --quiet

Example output:

{"running":true,"port":1234}

Control logging output

Adjust logging verbosity:

lms server status --verbose
lms server status --quiet
lms server status --log-level debug

You can only use one logging control flag at a time (--verbose, --quiet, or --log-level).