]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
Update README
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 10 May 2013 13:11:26 +0000 (10:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 10 May 2013 13:23:10 +0000 (10:23 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
README

diff --git a/README b/README
index ae2d1a621c6d5fc811b369a8eae0ba3802281706..1d99eee4218c9490ca382cb7754b275a800195f8 100644 (file)
--- a/README
+++ b/README
@@ -15,20 +15,43 @@ by installing the following packages:
        automake
        libtool
        tar
-       sqlite-devel
+       sqlite-devel    (if sqlite3 will be used)
 
 To install then on Fedora, run:
+       yum install -y make gcc autoconf automake libtool tar
+
+Or, if sqlite3 database will be used to store data:
        yum install -y make gcc autoconf automake libtool tar sqlite-devel
 
-Run:
+Run (without sqlite):
        $ autoreconf -vfi && ./configure
        $ make
 
+or, if sql3database will be used:
+       $ autoreconf -vfi && ./configure --enable-sqlite3
+       $ make
+
 As root:
        # make install
 
 The daemon generally requires root permission, in order to read the
-needed debugfs trace nodes. Just run it without any parameters to start
-capturing the RAS memory errors:
+needed debugfs trace nodes, with needs to be previously mounted.
+The rasdaemon will check at /proc/mounts where the debugfs partition
+is mounted and use it while running.
+
+To run the rasdaemon in background, just call it without any parameters:
 
        # rasdaemon
+
+The output will be available via syslog. Or, to run it in foreground and see
+the logs in console, run it as:
+       # rasdaemon -f
+
+You may also start it via systemd:
+       # systemctl start rasdaemon
+
+The rasdaemon will then output the messages to journald.
+
+A script is provided under /contrib, in order to test the daemon.
+While the daemon is running, just run:
+       # contrib/edac-fake-inject