# `PhoenixDevToolbar.Plugins.System`
[🔗](https://github.com/zoten/phoenix_dev_toolbar/blob/0.0.2/lib/phoenix_dev_toolbar/plugins/system.ex#L1)

The System tab ([ADR 11](https://github.com/zoten/phoenix_dev_toolbar/blob/main/adr/11-system-tab.md)): any local process, by pid or
registered name or through a link from another tab, with the same vital signs
as the Process tab plus ancestors, stacktrace and state. Reads nothing until
someone inspects a process. Part of `:defaults`.

    config :phoenix_dev_toolbar,
      plugins: [:defaults, {PhoenixDevToolbar.Plugins.System, samples: 120}]

## Options

| Option | Meaning | Type | Default |
| --- | --- | --- | --- |
| `sample_ms:` | how often the vital signs are read | integer, 250 to 60000 | `1000` |
| `samples:` | points kept by each sparkline | integer, 2 to 600 | `60` |
| `relations_ms:` | how often links and monitors are read | integer, 1000 to 300000 | `5000` |

An unknown option or a value out of range disables the plugin, with a logged
reason. Process actions (kill, suspend) are off unless `actions:` allows them.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
