From patchwork Wed Feb 10 17:41:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Stone X-Patchwork-Id: 61688 Delivered-To: patches@linaro.org Received: by 10.112.43.199 with SMTP id y7csp2782790lbl; Wed, 10 Feb 2016 09:42:09 -0800 (PST) X-Received: by 10.182.226.165 with SMTP id rt5mr38150466obc.51.1455126127572; Wed, 10 Feb 2016 09:42:07 -0800 (PST) Return-Path: Received: from mail-ob0-x22c.google.com (mail-ob0-x22c.google.com. [2607:f8b0:4003:c01::22c]) by mx.google.com with ESMTPS id i127si718989oif.27.2016.02.10.09.42.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Feb 2016 09:42:07 -0800 (PST) Received-SPF: pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4003:c01::22c as permitted sender) client-ip=2607:f8b0:4003:c01::22c; Authentication-Results: mx.google.com; spf=pass (google.com: domain of al.stone@linaro.org designates 2607:f8b0:4003:c01::22c as permitted sender) smtp.mailfrom=al.stone@linaro.org; dkim=pass header.i=@linaro.org Received: by mail-ob0-x22c.google.com with SMTP id ba1so37538148obb.3 for ; Wed, 10 Feb 2016 09:42:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=0rhnBnRbyscznCbIJC3v7Hh2RLiFq00QsiNjaVspP3w=; b=OKFWs4b7dYROlsPclZu0998p7Il468qInjxRyJTtoIYHfcNLvOjNH9Gg7YLZaEcm1z NYU6kzh9WckYvrQi63rHVyUhN/oA/kR4w6cZQYoPkEyVF/+HjgUJxL1v53cABGjgnwHT dxC0u5mMF80x8Gs83VD8pwI2H7qaBIeznMScA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=0rhnBnRbyscznCbIJC3v7Hh2RLiFq00QsiNjaVspP3w=; b=PNYTtkGTxNGeD6FO9XQIgi22sk+iiLRsPvrCrVaxV10u8a93gJjofiqE7LhCUJAjnJ WObjT4TTag14ZuTa0tmLuavwhjo0XaF6nHvmkbdgEz/L3G+Jq8u1o6d4nQneOuBnJKwG /LIw7XUXhBkcI2p82ClcfGVwyv9ZoGezHwD6dd0mPemUCFoIYwQleeJwBvGHLTcybGCf OH1BE3gZHD/+g4YZu6dxG8Cc2efZHfl4AJTr0lxCErDoExqyajZiFX65zR8UkvAUQT4f ip4eSCEWfZJCAV7f3g5E2Yq/85+J8qMPGCQbFHNm3oArjaDIzRUIm2YybFyvnYPu5Lqc wmxg== X-Gm-Message-State: AG10YOTYDWbhjMNbz7eQ4PU7CqphHsgkebhUlHw37XkS6uqDTFxiZoGwYk6gw3Fq+2snvF+27cE= X-Received: by 10.182.106.13 with SMTP id gq13mr40030230obb.38.1455126127035; Wed, 10 Feb 2016 09:42:07 -0800 (PST) Return-Path: Received: from fidelio.ahs3.com (c-50-134-239-249.hsd1.co.comcast.net. [50.134.239.249]) by smtp.googlemail.com with ESMTPSA id gi5sm2141618obb.6.2016.02.10.09.42.05 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Feb 2016 09:42:05 -0800 (PST) From: Al Stone To: linux-edac@vger.kernel.org Cc: linaro-acpi@lists.linaro.org, patches@linaro.org, Al Stone Subject: [PATCH 2/3] rasdaemon: the man page should be section 8 not 1 Date: Wed, 10 Feb 2016 10:41:41 -0700 Message-Id: <1455126102-28997-3-git-send-email-al.stone@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1455126102-28997-1-git-send-email-al.stone@linaro.org> References: <1455126102-28997-1-git-send-email-al.stone@linaro.org> Admin tools normally have man pages in section 8, not section 1, so move the rasdaemon man page to 8. Signed-off-by: Al Stone --- configure.ac | 2 +- man/Makefile.am | 2 +- man/rasdaemon.1.in | 67 ------------------------------------------------------ man/rasdaemon.8.in | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 69 insertions(+), 69 deletions(-) delete mode 100644 man/rasdaemon.1.in create mode 100644 man/rasdaemon.8.in -- 2.5.0 diff --git a/configure.ac b/configure.ac index 559f70a..871aca4 100644 --- a/configure.ac +++ b/configure.ac @@ -15,7 +15,7 @@ AC_CONFIG_FILES([ libtrace/Makefile man/Makefile man/ras-mc-ctl.8 - man/rasdaemon.1 + man/rasdaemon.8 misc/rasdaemon.spec util/Makefile util/ras-mc-ctl diff --git a/man/Makefile.am b/man/Makefile.am index 2e66237..a181173 100644 --- a/man/Makefile.am +++ b/man/Makefile.am @@ -1,2 +1,2 @@ -man_MANS = ras-mc-ctl.8 rasdaemon.1 +man_MANS = ras-mc-ctl.8 rasdaemon.8 diff --git a/man/rasdaemon.1.in b/man/rasdaemon.1.in deleted file mode 100644 index 7a8b60f..0000000 --- a/man/rasdaemon.1.in +++ /dev/null @@ -1,67 +0,0 @@ -.\"**************************************************************************** -.\" $Id$ -.\"**************************************************************************** -.\"Copyright (c) 2013 Mauro Carvalho Chehab -.\" -.\" 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 RASDAEMON 8 "@META_DATE@" "@META_ALIAS@" "RAS memory controller admin utility" - -.SH NAME -rasdaemon \- RAS daemon to log the RAS events. - -.SH SYNOPSIS -.B rasdaemon -[\fIOPTION\fR]... - -.SH DESCRIPTION - -The \fBrasdaemon\fR program is a daemon which monitors the platform -Reliablity, Availability and Serviceability (RAS) reports from the -Linux kernel trace events. These trace events are logged in -/sys/kernel/debug/tracing, reporting them via syslog/journald. - -.SH OPTIONS -.TP -.BI "--usage" -Display a brief usage message and exit. -.TP -.BI "--help" -Display a help message and exit. -.TP -.BI "--disable" -Disable RAS tracing events and exit. -.TP -.BI "--enable" -Enable RAS tracing events and exit. -.TP -.BI "--foreground" -Executes in foreground, printing the events at console. Useful for testing it, -and to be used by systemd or Unix System V respan. -If not specified, the program runs in daemon mode. -.TP -.BI "--record" -Record RAS events via Sqlite3. The Sqlite3 database has the benefit of -keeping a persistent record of the RAS events. This feature is used with -the ras-mc-ctl utility. Note that rasdaemon may be compiled without this -feature. -.TP -.BI "--version" -Print the program version and exit. - -.SH SEE ALSO -\fBras-mc-ctl\fR(8) - diff --git a/man/rasdaemon.8.in b/man/rasdaemon.8.in new file mode 100644 index 0000000..7a8b60f --- /dev/null +++ b/man/rasdaemon.8.in @@ -0,0 +1,67 @@ +.\"**************************************************************************** +.\" $Id$ +.\"**************************************************************************** +.\"Copyright (c) 2013 Mauro Carvalho Chehab +.\" +.\" 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 RASDAEMON 8 "@META_DATE@" "@META_ALIAS@" "RAS memory controller admin utility" + +.SH NAME +rasdaemon \- RAS daemon to log the RAS events. + +.SH SYNOPSIS +.B rasdaemon +[\fIOPTION\fR]... + +.SH DESCRIPTION + +The \fBrasdaemon\fR program is a daemon which monitors the platform +Reliablity, Availability and Serviceability (RAS) reports from the +Linux kernel trace events. These trace events are logged in +/sys/kernel/debug/tracing, reporting them via syslog/journald. + +.SH OPTIONS +.TP +.BI "--usage" +Display a brief usage message and exit. +.TP +.BI "--help" +Display a help message and exit. +.TP +.BI "--disable" +Disable RAS tracing events and exit. +.TP +.BI "--enable" +Enable RAS tracing events and exit. +.TP +.BI "--foreground" +Executes in foreground, printing the events at console. Useful for testing it, +and to be used by systemd or Unix System V respan. +If not specified, the program runs in daemon mode. +.TP +.BI "--record" +Record RAS events via Sqlite3. The Sqlite3 database has the benefit of +keeping a persistent record of the RAS events. This feature is used with +the ras-mc-ctl utility. Note that rasdaemon may be compiled without this +feature. +.TP +.BI "--version" +Print the program version and exit. + +.SH SEE ALSO +\fBras-mc-ctl\fR(8) +