DISCONTINUATION OF PROJECT
This project will no longer be maintained by Intel.
Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.
Intel no longer accepts patches to this project.
If you have an ongoing need to use this project, are interested in independently developing it, or would like to maintain patches for the open source software community, please create your own fork of this project.
Contact: [email protected]
Intel® PMWatch (PersistentMemoryWatch) is a tool that monitors and reports the performance and health information metrics of the Intel® Optane™ DC Persistent Memory.
Linux
Any Intel® platform with Intel® Optane™ DC Persistent Memory.
The information about features and options available in the tool can be found at PMWatch_User_Guide.pdf.
Check Dependencies section to resolve the dependencies.
$ ./autogen.sh
$ ./configure [--with-libipmctl=<path_to_libipmctl> --with-libipmctl-inc=<path_to_libipmctl_header_files> --prefix=$HOME/pmwatch --bindir=$HOME/pmwatch/bin64 --libdir=$HOME/pmwatch/lib64]
$ make
$ make -j install
The parameters for configure are optional.
If you are building PMWatch for collectd (dcpmm plugin) dependency, make sure to use --libdir=<install_path>/lib64
.
You can also use the scripts available for build and package creation.
$ ./prepare_pmwatch_release.sh M=<major_version> m=<minor_version> u=<update_num> with-libipmctl=<path_to_libipmctl> with-libipmctl-inc=<path_to_libipmctl_header_files> os=linux -r
Check pmw_version.h to obtain major, minor version and update number.
Standalone build script.
$ ./build_pmwatch.sh -all with-libipmctl=<path_to_libipmctl> with-libipmctl-inc=<path_to_libipmctl_header_files> os=linux
Standalone packaging script.
$ ./package_pmwatch.sh M=<major_number> m=<minor_number> u=<update_num> os=linux -r
Use the -h
option to get more details about the scripts' options.
PMWatch is dependent on libipmctl.
Perform the following steps to install the tool dependencies.
$ yum install daxctl-devel.x86_64 ndctl-devel.x86_64 libipmctl-devel.x86_64
$ wget https://copr-be.cloud.fedoraproject.org/results/jhli/ipmctl/epel-7-x86_64/00874029-ipmctl/libipmctl-devel-02.00.00.3446-1.el7.x86_64.rpm
$ yum install ndctl-libs.x86_64
$ rpm -ivh libipmctl-devel-02.00.00.3446-1.el7.x86_64.rpm
$ apt install libdaxctl-dev libndctl-dev libipmctl-dev
Install the following build tools:
autoconf, automake, flex, bison, libtool, pkg-config, libkmod-dev, libudev-dev, uuid-dev