-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The following plugins were added 1) zfs_zpool Stastistics on zfs pools. 2) zfs_leafvdevs Statistic on virtual devices leaves only. 3) zfs_topvdevs Statidstics on top virtual devices in the device tree (parent only).
- Loading branch information
1 parent
4d4cc17
commit 8ac7128
Showing
11 changed files
with
1,709 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
pkglib_LTLIBRARIES = | ||
dist_man1_MANS = | ||
|
||
AUTOMAKE_OPTIONS = subdir-objects | ||
|
||
AM_CPPFLAGS = @OVIS_INCLUDE_ABS@ \ | ||
-I/usr/include/libspl \ | ||
-I/usr/include/libzfs \ | ||
-Wall | ||
|
||
AM_LDFLAGS = @OVIS_LIB_ABS@ | ||
COMMON_LIBADD = -lsampler_base -lldms -lovis_util -lcoll \ | ||
@LDFLAGS_GETTIME@ | ||
|
||
libzfs_leafvdevs_la_SOURCES = zfs_leafvdevs.c | ||
libzfs_leafvdevs_la_LIBADD = $(COMMON_LIBADD) | ||
pkglib_LTLIBRARIES += libzfs_leafvdevs.la | ||
dist_man7_MANS = Plugin_zfs_leafvdevs.man |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
.\" Manpage for Plugin_zfs_leafvdevs | ||
.\" Contact [email protected] to correct errors or typos. | ||
.TH man 7 "19 Apr 2023" "v4" "LDMS Plugin zfs_leafvdevs man page" | ||
|
||
.SH NAME | ||
Plugin_zfs_leafvdevs - man page for the LDMS zfs_leafvdevs plugin | ||
|
||
.SH SYNOPSIS | ||
Within ldmsd_controller or a configuration file: | ||
.br | ||
config name=zfs_leafvdevs | ||
|
||
.SH DESCRIPTION | ||
With LDMS (Lightweight Distributed Metric Service), plugins for the ldmsd (ldms | ||
daemon) are configured via ldmsd_controller or a configuration file. The | ||
zfs_leafvdevs plugin uses LDMS_V_LIST and LDMS_V_RECORD to provide zfs leaf | ||
virtual devices using libzfs. | ||
|
||
.SH CONFIGURATION ATTRIBUTE SYNTAX | ||
The zfs_leafvdevs plugin uses the sampler_base base class. This man page covers | ||
only the configuration attributes, or those with default values, specific to the | ||
this plugin; see ldms_sampler_base.man for the attributes of the base class. | ||
|
||
.TP | ||
.BR config | ||
name=<plugin_name> | ||
.br | ||
configuration line | ||
.RS | ||
.TP | ||
name=<plugin_name> | ||
.br | ||
This MUST be zfs_leafvdevs. | ||
.RE | ||
|
||
.SH EXAMPLES | ||
.PP | ||
Within ldmsd_controller or a configuration file: | ||
.nf | ||
load name=zfs_leafvdevs | ||
config name=zfs_leafvdevs producer=${HOSTNAME} instance=${HOSTNAME}/zfs_leafvdevs | ||
start name=zfs_leafvdevs interval=1000000 offset=0 | ||
.fi | ||
|
||
.SH SEE ALSO | ||
ldmsd(8), ldms_quickstart(7), ldmsd_controller(8), ldms_sampler_base(7), | ||
Plugin_leafvdevs(7) |
Oops, something went wrong.