Downcity
CommandsService

city service status

Show runtime status for a single service

city service status

Show status of a single service under a target agent.

Usage

city service status <serviceName> [--agent <name> | --path <path>] [--host <host>] [--port <port>]

Examples

city service status chat --agent my-agent
city service status memory --path /abs/path/to/agent

Example Output (Based on Current Implementation)

The examples below are aligned with current command implementations in package/src (including default output mode and field structure). Placeholder values are used for environment-specific fields.

$ city service status task
{
  "success": true,
  "service": "task"
}
$ city service status task --path /invalid/path
{
  "success": false,
  "error": "Agent is not registered in console registry: /invalid/path. Run \"city console agents\" to inspect registered agents."
}

Table of Contents