Repository navigation
Labels
area: cliCommand line interface, flags, terminal UX, or outputarea: observabilityLogging, metrics, tracing, diagnostics, or debug output
Description
Summary
Add a nemoclaw debug CLI command that collects system and environment diagnostic information to help triage bug reports. The output should go to stdout and also be packaged as a tarball that users can attach to GitHub issues.
Motivation
When users open GitHub issues, we often lack the system context needed to diagnose problems. This leads to back-and-forth requests for debug info, slowing down triage. A single command that captures everything we need will reduce observability gaps and speed up issue resolution.
Requirements
CLI command
- Add
nemoclaw debugas a new CLI command (similar pattern tonemoclaw uninstall) - Also create a standalone bash script in
scripts/so users can run it viacurlor from a cloned repo - Output should go to stdout and also be saved as a tarball
Diagnostic information to collect
System basics:
date
uname -a
uptime
free -m
df -h
Process info:
ps -ef
ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%cpu | head -30
ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head -30
top -b -n 1 | head -50
GPU:
nvidia-smi
nvidia-smi dmon -s pucvmet -c 10
nvidia-smi --query-gpu=name,utilization.gpu,utilization.memory,memory.total,memory.used,temperature.gpu,power.draw --format=csv
Docker:
docker ps -a
docker stats --no-stream
docker info
docker system df
docker logs --tail 200 <container_name>
docker inspect <container_name>
OpenShell:
openshell status
openshell gateway info
openshell sandbox list
openshell sandbox get <sandbox_name>
openshell sandbox logs <sandbox_name>
Network:
ss -ltnp
ip addr
ip route
cat /etc/resolv.conf
nslookup integrate.api.nvidia.com
curl -I -s https://integrate.api.nvidia.com/v1/models
lsof -i -P -n
lsof -i :18789
Kernel/IO:
vmstat 1 5
iostat -xz 1 5
dmesg | tail -100
Sandbox internals (if accessible):
openshell sandbox connect <sandbox_name>
ps -ef
free -m
top -b -n 1 | head -50
tail -200 /tmp/gateway.log
Minimal diagnostic set
For a quick support ask, collect at minimum:
free -m
uptime
ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%cpu | head -30
docker ps -a
docker stats --no-stream
docker logs --tail 200 <container_name>
openshell status
openshell sandbox list
openshell sandbox get <sandbox_name>
openshell sandbox logs <sandbox_name>
nvidia-smi
dmesg | tail -100
Consider supporting nemoclaw debug --quick for this subset.
Additional work
- Update the bug/issue template to reference
nemoclaw debugand ask users to attach the tarball - Handle commands that aren't available gracefully (e.g., no GPU, no Docker) — skip and note in output
- Redact or warn about potentially sensitive information (IPs, hostnames, etc.)
Participants
- @ahunnargikar (proposed the diagnostics list)
- @kjw3 (suggested CLI command + script + tarball approach)
- @wscurran (suggested integration into issue template)
- @ericksoa (approved
nemoclaw debugnaming) - @cv (assigned)
Metadata
Metadata
Assignees
Labels
area: cliCommand line interface, flags, terminal UX, or outputarea: observabilityLogging, metrics, tracing, diagnostics, or debug output
Activity
wscurran commentedon Mar 20, 2026
Thanks for suggesting the addition of a
nemoclaw debugcommand to collect system and environment diagnostic information, which would be really helpful for triaging bug reports.feat: add `nemoclaw debug` command for collecting diagnostics (#502)
feat: add `nemoclaw debug` command for collecting diagnostics (NVIDIA…
feat: add `nemoclaw debug` command for collecting diagnostics (NVIDIA…
build(fabric): pin Fabric v0.6.0-rc.1 for runtime health checks (#13946)