From 2bc3f01114f0e7f67234730a71ee8db4f3ef0ec4 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Wed, 3 Sep 2014 12:37:17 +0200 Subject: [PATCH] improved '' option documentation of the FS graph in the man page of monitorix.conf --- man/man5/monitorix.conf.5 | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/man/man5/monitorix.conf.5 b/man/man5/monitorix.conf.5 index 344f16b..6774112 100644 --- a/man/man5/monitorix.conf.5 +++ b/man/man5/monitorix.conf.5 @@ -896,9 +896,38 @@ You can define as much entries as you want. .P .BI devmap .RS -This list complements the \fBlist\fP option. When Monitorix is started it tries to detect automatically the device name associated to each filesystem defined in the \fBlist\fP option in order to be able to show its I/O activity. If for any reason Monitorix failed to detect it, then you can help it using this option. +This optional list complements the \fBlist\fP option. When Monitorix is started, and in order to be able to show I/O activity, it attempts to detect the mapping of devices specified in \fBlist\fP, as defined in the \fIdf\fP command output column "Mounted on". In the event that devices are not detected by Monitorix, the \fBdevmap\fP option shall be used to manually define them, according to the underlying OS: .P .RS +Linux (kernel > 2.4) +.RS + device must match a device listed in the "/proc/diskstats" file. +.RE +.RE +.P +.RS +Linux (kernel <= 2.4) +.RS + is not used, but because something is defined in , Monitorix will extract "disk_io" lines from the "/proc/stat" file. +.RE +.RE +.P +.RS +FreeBSD +.RS + device recognized by the output of "iostat -xI " command. +.RE +.RE +.P +.RS +OpenBSD and NetBSD +.RS + is not used, but because something is defined in , Monitorix will use the output of "iostat -DI" command. +.RE +.RE +.P +Just an example: +.RS .br /mnt/home = dm-1