Skip to content

Add CLI command to list running server health and status #143

Description

@cwing-nvidia

Description:
Users need visibility into which NeMo Gym servers are currently running and their health status for operational management.

Background:
Currently users must manually track which servers they've started and there's no built-in way to check if servers are healthy or responding properly.

Proposed Implementation:
Add ng_status / nemo_gym_status CLI command that:

  • Lists all running NeMo Gym processes
  • Shows server names, ports, and PIDs
  • Displays health status (responding/not responding)
  • Shows uptime and basic metrics

Acceptance Criteria:

  • ng_status command lists all running servers
  • Shows server name, port, PID, and health status
  • Indicates healthy (✓) vs unhealthy (✗) servers
  • Works across different server types (models, resources, agents)
  • Handles case when no servers are running
  • Add both ng_status and nemo_gym_status aliases
  • Include in CLI documentation

Example Output:

$ ng_status
NeMo Gym Server Status:
✓ simple_weather (resources_server) Port: 8000 PID: 12345 Uptime: 2h 15m
✓ policy_model (responses_api_model) Port: 8001 PID: 12346 Uptime: 2h 15m
✓ simple_agent (responses_api_agent) Port: 8002 PID: 12347 Uptime: 2h 14m
✗ math_server (resources_server) Port: 8003 PID: 12348 Not responding
4 servers found (3 healthy, 1 unhealthy)

Activity

  1. added this to the v0.1.0 milestone on Oct 13, 2025
  2. added
    core-infra
    on Oct 13, 2025
  3. removed this from the v0.1.0 milestone on Oct 13, 2025
  4. linked a pull request that will close this issueList running server health and status #290on Nov 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

core-infra

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions