.\"**************************************************************************** .\" $Id$ .\"**************************************************************************** .\" Copyright (C) 2006-2007 The Regents of the University of California. .\" Produced at Lawrence Livermore National Laboratory. .\" Written by Mark Grondona .\" UCRL-CODE-230739. .\" .\" This file is part of edac-utils. .\" .\" This is free software; you can redistribute it and/or modify it .\" under the terms of the GNU General Public License as published by .\" the Free Software Foundation; either version 2 of the License, or .\" (at your option) any later version. .\" .\" This is distributed in the hope that it will be useful, but WITHOUT .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or .\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License .\" for more details. .\" .\" You should have received a copy of the GNU General Public License along .\" with this program; if not, write to the Free Software Foundation, Inc., .\" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. .\"**************************************************************************** .TH EDAC-CTL 8 "2011-11-09" "edac-utils-0.18-1" "EDAC admin utility" .SH NAME edac-ctl \- EDAC admin utility .SH SYNOPSIS .B edac-ctl [\fIOPTION\fR]... .SH DESCRIPTION The \fBedac-ctl\fR program is a \fBperl\fR(1) script which performs some useful administration tasks for EDAC (Error Detection and Correction) drivers. .SH OPTIONS .TP .BI "--help" Display a brief usage message. .TP .BI "--mainboard" Print mainboard vendor and model for this hardware, if available. The method used by \fBedac-ctl\fR to obtain the mainboard vendor and model information for the current system is described below in the \fIMAINBOARD CONFIGURATION\fR section. .TP .BI "--status" Print the status of EDAC drivers (loaded or unloaded). .TP .BI "--register-labels" Register motherboard DIMM labels into EDAC driver sysfs files. This option uses the detected mainboard manufacturer and model number in combination with a "labels database" found in any of the files under /etc/edac/labels.d/* or in the labels.db file at /etc/edac/labels.db. An entry for the current hardware must exist in the labels database for this option to do anything. .TP .BI "--print-labels" Display the configured labels for the current hardware, as well as the current labels registered with EDAC. .TP .BI "--labeldb="DB Specify an alternate location for the labels database. .SH MAINBOARD CONFIGURATION .PP The \fBedac-ctl\fR script uses the following method to determine the current system's mainboard vendor and model information: .IP "1." 4 If the config file /etc/edac/mainboard exists, then it is parsed by \fBedac-ctl\fR. The mainboard config file has the following simple syntax: .nf vendor = model = script =