DEVLINK−HEALTH - Online Linux Manual PageSection : 8
Updated : 20 Feb 2019
Source : iproute2
Note : Linux

NAMEdevlink-health − devlink health reporting and recovery

SYNOPSISdevlink [ 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 an 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. grace_period MSEC  Time interval between consecutive auto recoveries. auto_recover { true | false }  Indicates whether the devlink should execute automatic recover on error. auto_dump { true | false }  Indicates whether the devlink should execute automatic dump on error.

EXAMPLESdevlink 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 ALSOdevlink(8), devlink-dev(8), devlink-port(8), devlink-param(8), devlink-region(8),

AUTHORAya Levin <ayal@mellanox.com>
0
Johanes Gumabo
Data Size   :   20,819 byte
man-devlink-health.8Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   6 / 259,536
Visitor ID   :     :  
Visitor IP   :   18.220.217.228   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.