travsr status
Show the health of the daemon and graph statistics for all watched repositories.
Synopsis
travsr status [--json]
Example output
$ travsr status
Travsr 0.9.0
Daemon
Status: running (PID 38142)
Uptime: 2h 14m 33s
Socket: /tmp/travsr.sock
Memory: 48 MB RSS
Repositories (2)
/Users/me/my-project
Nodes: 18 432
Edges: 94 751
DB size: 4.2 MB
Backend: SQLite WAL
Last index: 2026-05-26 14:33:11 (42 s ago)
Freshness: ✓ up-to-date (HEAD a1b2c3d)
/Users/me/other-project
Nodes: 5 201
Edges: 22 847
DB size: 1.1 MB
Backend: SQLite WAL
Last index: 2026-05-26 13:22:05 (1 hr 12 min ago)
Freshness: ✓ up-to-date (HEAD f4e5d6c)
JSON output
$ travsr status --json
{
"version": "0.9.0",
"daemon": {
"status": "running",
"pid": 38142,
"uptime_secs": 8073,
"socket": "/tmp/travsr.sock",
"memory_rss_bytes": 50331648
},
"repos": [
{
"path": "/Users/me/my-project",
"nodes": 18432,
"edges": 94751,
"db_bytes": 4404019,
"backend": "sqlite",
"last_indexed_at": "2026-05-26T14:33:11Z",
"head_sha": "a1b2c3d",
"fresh": true
}
]
}
Freshness check
travsr status compares HEAD SHA against the SHA that was current at the last reindex. If they differ, the graph is stale and Freshness shows a warning:
Freshness: ⚠ stale (graph at a1b2c3d, HEAD is f9e8d7c: 3 commits behind)
Run `travsr init` to reinstall the hook and re-index.