[ndctl,RFC,1/3] ndctl: ndctl-monitor.txt: Write how to use multiple monitor daemon concullently
diff mbox series

Message ID 20200225065225.121631-2-fj5788hd@fujitsu.com
State New
Headers show
  • Enable to run multiple monitor daemons as system services
Related show

Commit Message

Keisuke Sugita Feb. 25, 2020, 6:52 a.m. UTC
Add how to use multiple monitor concullently into monitor-conf.txt.

Here is a simple example of how to use,

1. copy and edit a config file
$ cp /etc/ndctl/monitor.conf /etc/ndctl/monitor-dimm.conf
$ vi /etc/ndctl/monitor-dimm.conf

2. start sytsem services
$ systemctl start ndctl-monitor@dimm

Signed-off-by: Keisuke Sugita <fj5788hd@fujitsu.com>
 Documentation/ndctl/ndctl-monitor.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff mbox series

diff --git a/Documentation/ndctl/ndctl-monitor.txt b/Documentation/ndctl/ndctl-monitor.txt
index 2239f04..ccca2f0 100644
--- a/Documentation/ndctl/ndctl-monitor.txt
+++ b/Documentation/ndctl/ndctl-monitor.txt
@@ -45,6 +45,17 @@  Run a monitor daemon as a system service
 systemctl start ndctl-monitor.service
+Run multiple monitor daemon concurrently as system services to monitor
+multiple bus, dimm, region, namespace or dimm-event independently.
+Same name as the single argument must be used with config file,
+like "ndctl-monitor@foo.service" and "moniter-foo.conf".
+For example, when you want to monitor a specific dimm,
+cp /etc/ndctl/monitor.conf /etc/ndctl/monitor-dimm.conf
+vi /etc/ndctl/monitor-dimm.conf  #Edit a file as you need
+systemctl start ndctl-monitor@dimm.service