man > devlink-health(8)

```html

DEVLINK-HEALTH(8)   Linux   DEVLINK-HEALTH(8)

๐Ÿ“„ NAME

devlink-health โ€” devlink health reporting and recovery

๐Ÿš€ Quick Reference

Use CaseCommandDescription
Show all health reportersdevlink health showDisplay status and configuration of all reporters
Show a specific reporterdevlink health show DEV reporter REPORTERShow status of a named reporter
Trigger recoverydevlink health recover DEV reporter REPORTERManually start a recovery operation
Diagnose a reporterdevlink health diagnose DEV reporter REPORTERRetrieve diagnostics data
Test a reporterdevlink health test DEV reporter REPORTERTrigger a test event
Show last dumpdevlink health dump show DEV reporter REPORTERDisplay the saved dump (generates new if none)
Clear saved dumpdevlink health dump clear DEV reporter REPORTERDelete the stored dump
Configure reporterdevlink health set DEV reporter REPORTER [grace_period MSEC] [auto_recover true|false] [auto_dump true|false]Set health reporter parameters

๐Ÿ“‹ SYNOPSIS

devlink [ OPTIONS ] health  { COMMAND | help }

OPTIONS := { -V[ersion] }

devlink health show [ { DEV | DEV/PORT_INDEX } reporter REPORTER ]

devlink health recover { DEV | DEV/PORT_INDEX } reporter REPORTER

devlink health diagnose { DEV | DEV/PORT_INDEX } reporter REPORTER

devlink health dump show { DEV | DEV/PORT_INDEX } reporter REPORTER

devlink health test { DEV | DEV/PORT_INDEX } reporter REPORTER

devlink health dump clear { DEV | DEV/PORT_INDEX } reporter REPORTER

devlink health set { DEV | DEV/PORT_INDEX } reporter REPORTER [ grace_period MSEC ] [
        auto_recover { true | false } ] [ auto_dump { true | false } ]

devlink health help

๐Ÿ“– DESCRIPTION

๐Ÿ–ฅ๏ธ devlink health show โ€” Show status and configuration on all supported reporters.

Displays info about reporters registered on devlink devices and ports.

DEV โ€” specifies the devlink device.
DEV/PORT_INDEX โ€” specifies the devlink port.
REPORTER โ€” specifies the reporter's name registered on specified devlink device or port.

๐Ÿ”„ devlink health recover โ€” Initiate a recovery operation on a reporter.

This action performs a recovery and increases the recoveries counter on success.

DEV โ€” specifies the devlink device.
DEV/PORT_INDEX โ€” specifies the devlink port.
REPORTER โ€” specifies the reporter's name registered on specified devlink device or port.

๐Ÿ” devlink health diagnose โ€” Retrieve diagnostics data on a reporter.

DEV โ€” specifies the devlink device.
DEV/PORT_INDEX โ€” specifies the devlink port.
REPORTER โ€” specifies the reporter's name registered on specified devlink device or port.

๐Ÿงช devlink health test โ€” Trigger a test event on a reporter.

DEV โ€” specifies the devlink device.
REPORTER โ€” specifies the reporter's name registered on the devlink device.

๐Ÿ“ฅ devlink health dump show โ€” Display the last saved dump.

devlink health saves a single dump per reporter. If a dump is not already stored by the Devlink, this command will generate a new dump. The dump can be generated either automatically when a reporter reports on an error or manually at the user's request.

DEV โ€” specifies the devlink device.
DEV/PORT_INDEX โ€” specifies the devlink port.
REPORTER โ€” specifies the reporter's name registered on specified devlink device or port.

๐Ÿ—‘๏ธ devlink health dump clear โ€” Delete the saved dump.

Deleting the saved dump enables a generation of a new dump on the next "devlink health dump show" command.

DEV โ€” specifies the devlink device.
DEV/PORT_INDEX โ€” specifies the devlink port.
REPORTER โ€” specifies the reporter's name registered on specified devlink device or port.

โš™๏ธ devlink health set โ€” Configure health reporter.

Please note that some params are not supported on a reporter which doesn't support a recovery or dump method.

DEV โ€” specifies the devlink device.
DEV/PORT_INDEX โ€” specifies the devlink port.
REPORTER โ€” specifies the reporter's name registered on specified devlink device or port.

๐Ÿ’ก EXAMPLES

devlink health show

List status and configuration of available reporters on devices and ports.

devlink health show pci/0000:00:09.0/1 reporter tx

List status and configuration of tx reporter registered on port on pci/0000:00:09.0/1

devlink health recover pci/0000:00:09.0 reporter fw_fatal

Initiate recovery on fw_fatal reporter registered on device on pci/0000:00:09.0.

devlink health recover pci/0000:00:09.0/1 reporter tx

Initiate recovery on tx reporter registered on port on pci/0000:00:09.0/1.

devlink health diagnose pci/0000:00:09.0 reporter fw

List diagnostics data on the specified device and reporter.

devlink health dump show pci/0000:00:09.0/1 reporter tx

Display the last saved dump on the specified port and reporter.

devlink health dump clear pci/0000:00:09.0/1 reporter tx

Delete saved dump on the specified port and reporter.

devlink health set pci/0000:00:09.0 reporter fw_fatal grace_period 3500

Set time interval between auto recoveries to minimum of 3500 msec on the specified device and reporter.

devlink health set pci/0000:00:09.0/1 reporter tx grace_period 3500

Set time interval between auto recoveries to minimum of 3500 msec on the specified port and reporter.

devlink health set pci/0000:00:09.0 reporter fw_fatal auto_recover false

Turn off auto recovery on the specified device and reporter.

๐Ÿ”— SEE ALSO

devlink(8), devlink-dev(8), devlink-port(8), devlink-param(8), devlink-region(8)

โœ๏ธ AUTHOR

Aya Levin <ayal AT mellanox.com>

iproute2   20 Feb 2019   DEVLINK-HEALTH(8)

```
devlink-health(8)
๐Ÿ“„ NAME ๐Ÿš€ Quick Reference ๐Ÿ“‹ SYNOPSIS ๐Ÿ“– DESCRIPTION
๐Ÿ–ฅ๏ธ devlink health show โ€” Show status and configuration on all supported reporters. ๐Ÿ”„ devlink health recover โ€” Initiate a recovery operation on a reporter. ๐Ÿ” devlink health diagnose โ€” Retrieve diagnostics data on a reporter. ๐Ÿงช devlink health test โ€” Trigger a test event on a reporter. ๐Ÿ“ฅ devlink health dump show โ€” Display the last saved dump. ๐Ÿ—‘๏ธ devlink health dump clear โ€” Delete the saved dump. โš™๏ธ devlink health set โ€” Configure health reporter.
๐Ÿ’ก EXAMPLES ๐Ÿ”— SEE ALSO โœ๏ธ AUTHOR

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-31 01:04 @216.73.217.152
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format

^_top_^