Skip to content

lynxpm reset

Terminal window
lynxpm reset [--namespace <ns>] [--json] <id|name|ns:*|*>...

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.
FlagTypeDefaultDescription
--namespace <ns>string-Reset every process in this namespace. Mutually exclusive with positional targets.
--jsonbooleanfalseEmit a machine-readable {results, summary} batch report on stdout.
-h, --help--Show help message.
Terminal window
lynxpm reset api
lynxpm reset prod:worker
lynxpm reset api worker scheduler # multiple at once
lynxpm reset 'prod:*' # every process in namespace prod
lynxpm reset --namespace prod # equivalent flag form
lynxpm reset api --json | jq '.summary'
  • 0 — every target was reset.
  • non-zero — at least one target failed; the per-target line (or .results[].error in --json) explains why.