lynxpm reset
📖 Synopsis
Section titled “📖 Synopsis”lynxpm reset [--namespace <ns>] [--json] <id|name|ns:*|*>...Description
Section titled “Description”Useful after fixing a crash loop: reset the counter so you can observe
stability from a clean baseline. The process keeps running — only the
Restarts metric visible in lynxpm list and lynxpm show is zeroed. The
internal backoff bucket is also cleared.
Bulk selectors:
<ns>:*— every process in that namespace. Quote the glob so the shell does not expand it:lynxpm reset 'prod:*'.*or*:*— every managed process.--namespace <ns>— same as<ns>:*but no shell quoting needed. Cannot be combined with positional targets.
⚙️ Flags
Section titled “⚙️ Flags”| Flag | Type | Default | Description |
|---|---|---|---|
--namespace <ns> | string | - | Reset every process in this namespace. Mutually exclusive with positional targets. |
--json | boolean | false | Emit a machine-readable {results, summary} batch report on stdout. |
-h, --help | - | - | Show help message. |
🚀 Examples
Section titled “🚀 Examples”lynxpm reset apilynxpm reset prod:workerlynxpm reset api worker scheduler # multiple at oncelynxpm reset 'prod:*' # every process in namespace prodlynxpm reset --namespace prod # equivalent flag formlynxpm reset api --json | jq '.summary'Exit codes
Section titled “Exit codes”0— every target was reset.- non-zero — at least one target failed; the per-target line (or
.results[].errorin--json) explains why.