PMEMPOOL(1)
π pmempool β Persistent Memory Pool Management Tool π
π NAME π
okay so this is the PMDK Programmer's Manual page for pmempool, bestie β the Persistent Memory Pool Management Tool. Itβs giving βI manage persistent memory pool files created by PMDK libraries,β and honestly? iconic. π«Ά
β οΈ NOTE: Support for Windows and FreeBSD deprecated since PMDK 1.13.0 release and will be removed in the PMDK 1.14.0 release. π
β¨ SYNOPSIS β¨
run it like this, no cap:
$ pmempool [--help] [--version] <command> [<args>]
π«Ά NOTE π«Ά
π¨ NOTICE: Thelibpmemblkandlibpmemloglibraries are deprecated since PMDK 1.13.0 release.
πΈ DESCRIPTION πΈ
pmempool is a management tool for Persistent Memory pool files created by PMDK libraries. literally its whole main character thing. β¨
The main purpose of pmempool is to provide a user with a set of utilities for off-line analysis and manipulation of pools created by pmem libraries. The pmempool is a generic command which consists of subcommands for specific purposes. Some of subcommands are required to work without any impact on processed pool, but some of them may create a new or modify an existing one. so yeah β some are look-only, some are full makeover mode, lowkey important to know which is which. π
The pmempool may be useful for troubleshooting by system administrators and for software developers who work on applications based on PMDK. The latter may find these tools useful for testing and debugging purposes also. itβs giving βsysadmin bestieβ and βdeveloper gremlinβ at the same time, and thatβs valid. π¦
π OPTIONS π
-V,--versionβ Prints the version ofpmempool. simple, clean, slay.-h,--helpβ Prints synopsis and list of commands. your lil map, bestie.
π COMMANDS π
Currently there is a following set of commands available:
pmempool-info(1)β Prints information and statistics in human-readable format about specified pool. πpmempool-check(1)β Checks poolβs consistency and repairs pool if it is not consistent. π©Ήpmempool-create(1)β Creates a pool of specified type with additional properties specific for this type of pool. π§pmempool-dump(1)β Dumps usable data from pool in hexadecimal or binary format. π₯pmempool-rm(1)β Removes pool file or all pool files listed in pool set configuration file. πpmempool-convert(1)β Updates the pool to the latest available layout version. βpmempool-sync(1)β Synchronizes replicas within a poolset. πpmempool-transform(1)β Modifies internal structure of a poolset. πpmempool-feature(1)β Toggle or query a poolset features. π
In order to get more information about specific command you can use pmempool help . because yes, even the tool has a help button, periodt.
π₯ DEBUGGING π₯
The debug logs are available only in the debug version of the tool, which is not provided by binary packages, but can be built from sources. The pmempool.static-debug binary blob can be found in the src/tools/pmempool/' subdirectory. π οΈ
PMEMPOOL_TOOL_LOG_LEVELβ The value ofPMEMPOOL_TOOL_LOG_LEVELenables trace points in the debug version of the tool, as follows:0β This is the default level whenPMEMPOOL_TOOL_LOG_LEVELis not set. No log messages are emitted at this level.1β Additional details on any errors detected are logged (in addition to returning the errno-based errors as usual).2β A trace of basic operations is logged.3β Enables a very verbose amount of function call tracing in the tool.4β Enables voluminous and fairly obscure tracing information that is likely only useful to thepmempooldevelopers.
Unless PMEMPOOL_TOOL_LOG_FILE is set, debugging output is written to stderr. π
PMEMPOOL_TOOL_LOG_FILEβ Specifies the name of a file where all logging information should be written. If the last character in the name is-, the PID of the current process will be appended to the file name when the log file is created. IfPMEMPOOL_TOOL_LOG_FILEis not set, output is written tostderr. π
π SEE ALSO π
libpmemblk(7), libpmemlog(7), libpmemobj(7) and https://pmem.io π
okay final sign-off bestie: this page is from PMDK, dated 2023-05-31, and the footerβs empty () bits are just chilling there. bye, love u, read ur man pages π
π¦ where this page comes from
- debian trixie: pmdk-tools 1.13.1-1.1+b1 Β· BSD-3-Clause
- ubuntu noble: pmdk-tools 1.13.1-1.1ubuntu2 Β· BSD-3-Clause
- ubuntu questing: pmdk-tools 1.13.1-1.1ubuntu3
- ubuntu resolute: pmdk-tools 1.13.1-1.1ubuntu4 Β· BSD-3-Clause
- ubuntu stonking: pmdk-tools 1.13.1-1.1ubuntu5 Β· BSD-3-Clause
- π the page's license: BSD-3-Clause
- Copyright 2016-2023, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms