1
2EDAC-CTL(8)                   EDAC admin utility                   EDAC-CTL(8)
3
4
5

NAME

7       edac-ctl - EDAC admin utility
8
9

SYNOPSIS

11       edac-ctl [OPTION]...
12
13

DESCRIPTION

15       The edac-ctl program is a perl(1) script which performs some useful ad‐
16       ministration tasks for EDAC (Error Detection and Correction) drivers.
17
18

OPTIONS

20       --help Display a brief usage message.
21
22       --mainboard
23              Print mainboard vendor and model for this  hardware,  if  avail‐
24              able.   The method used by edac-ctl to obtain the mainboard ven‐
25              dor and model information for the current  system  is  described
26              below in the MAINBOARD CONFIGURATION section.
27
28       --status
29              Print the status of EDAC drivers (loaded or unloaded).
30
31       --register-labels
32              Register  motherboard  DIMM labels into EDAC driver sysfs files.
33              This option uses the detected mainboard manufacturer  and  model
34              number  in  combination with a "labels database" found in any of
35              the files under /etc/edac/labels.d/* or in the labels.db file at
36              /etc/edac/labels.db.  An entry for the current hardware must ex‐
37              ist in the labels database for this option to do anything.
38
39       --print-labels
40              Display the configured labels for the current hardware, as  well
41              as the current labels registered with EDAC.
42
43       --labeldb=DB
44              Specify an alternate location for the labels database.
45
46

MAINBOARD CONFIGURATION

48       The  edac-ctl script uses the following method to determine the current
49       system's mainboard vendor and model information:
50
51
52       1.  If the config file /etc/edac/mainboard exists, then it is parsed by
53           edac-ctl.  The  mainboard config file has the following simple syn‐
54           tax:
55
56                  vendor = <mainboard vendor string>
57                  model =  <mainboard model string>
58                  script = <script to gather mainboard information>
59
60           Where anything after a '#' character on a line is considered a com‐
61           ment.  If the keyword script is specified, then that script or exe‐
62           cutable is run by edac-ctl to gather the mainboard vendor and model
63           information.  The  script should write the resulting information on
64           stdout in the same format as the mainboard config file.
65
66
67       2.  If no mainboard config file exists, then edac-ctl will  attempt  to
68           read DMI information from the sysfs files
69
70                /sys/class/dmi/id/board_vendor
71                /sys/class/dmi/id/board_name
72
73
74
75       3.  If the sysfs files above do not exist, then edac-ctl will fall back
76           to parsing output of the dmidecode(8) utility. Use of this  utility
77           will most often require that edac-ctl be run as root.
78
79

SEE ALSO

81       edac(3), edac-util(1)
82
83
84
85
86edac-utils-0.18-1                 2011-11-09                       EDAC-CTL(8)
Impressum