Usage
Options
Show detailed information about each running service, including port numbers, base paths, endpoint counts, and running status.
Path to the configuration file (global option).
Execution mode override:
ci, development, or debug (global option).Show what would be executed without actually checking status (global option).
Enable verbose output for detailed logging (global option).
Path to the SQLite database for simulator storage (global option).
Examples
Check basic status
Check detailed status
Dry run mode
Status indicators
The status command displays the following information:Basic status
- π’ Running - Simulator is active and services are running
- π΄ Stopped - Simulator is not running
- βͺ Not configured - Simulator is not enabled in configuration
Service metrics
- Services - Total number of service definitions loaded
- Active Services - Number of services currently running
Detailed information (with --detailed)
For each service:
- Name - Service identifier
- Port - HTTP port the service is listening on
- Base path - URL path prefix for all endpoints
- Endpoints - Number of endpoints defined in the service
- Running - Whether the service is currently active
Use cases
Quick health check
Debugging service configuration
Monitor in scripts
Related commands
simulator start- Start the simulatorsimulator stop- Stop the simulatorsimulator logs- View request logs
The status command provides a snapshot of the current state. For real-time monitoring of requests and responses, use the
simulator logs command with the --follow option or the simulator monitor command.Troubleshooting
Status shows βNot configuredβ
Ensure yourapicentric.json has simulator configuration:
Services show as total but not active
This indicates services are defined but not running. Check:- Port availability conflicts
- Service definition validation
- Simulator logs for startup errors