PMEMPOOL-DUMP(1)
πΎ pmempool-dump β dump user data from persistent memory pool
okay so real talk, this is the page for pmempool-dump, and yes it lives in the PMDK Programmer's Manual, and yes I'm gonna make it make sense for you bestie π«Ά
β¨ SYNOPSIS β¨
$ pmempool dump [<options>] <file>
that's it. that's the whole vibe check. π
β οΈ NOTE
NOTICE: Thelibpmemblkandlibpmemloglibraries are deprecated since PMDK 1.13.0 release.
so like, they still work, but they're giving "old money, no future" β just be aware, no cap. π
πΈ DESCRIPTION πΈ
When you invoke pmempool with the dump command, it dumps user data out of the pool file you specified. The output format can be either binary or hexadecimal.
By default the output format is hexadecimal β that's the starting point, that's the default, periodt. β¨
By default, data gets dumped to standard output. But you can totally dump data to a different file by specifying the -o option. Heads up though: in that case, data will be appended to that file β not overwritten, appended. iykyk, don't get caught lacking. π
Using the -r option you can specify the number of blocks/bytes/data chunks using a special text format. Scroll down to the RANGE section for the deets, bestie. π
π Available options:
-b,--binaryβ dump data in binary format. simple as that. π€-r,--range<range> β the range of the pool file to dump. This can be a number of blocks forblkpool type, or either a number of bytes or a number of data chunks forlogpool type. π―-c,--chunk<size> β size of the chunk forlogpool type. Seepmemlog_walk(3)inlibpmemlog(7)for details. π§-o,--output<file> β name of the output file. (and remember: it appends! π)-h,--helpβ display help message and exit. the classic escape hatch. πͺβ¨
π RANGE π
Using the -r, --range option it's possible to dump only a range of user data. This section describes the valid format of the <range> string.
You can specify multiple ranges separated by commas β yes, plural, go off. π₯
- <first>-<last> β all blocks/bytes/data chunks from <first> to <last> will be dumped. inclusive energy. π
- -<last> β all blocks/bytes/data chunks up to <last> will be dumped. πΈ
- <first>-** β all blocks/bytes/data chunks starting from <first> will be dumped. π
- <number> β only <number> block/byte/data chunk will be dumped. just the one. main character energy, honestly. π
π EXAMPLE π
$ pmempool dump pool.bin
Dump user data from pool.bin file to standard output. iconic, effortless. π
$ pmempool dump -o output.bin -r1,10-100 pool_blk.bin
Dump block number 1 and blocks from 10 to 100 from pool_blk.bin β which contains a pmem blk pool β into the output.bin file. look at those ranges slaying. π₯
$ pmempool dump -r 1K-2K pool.bin
Dump data from 1K to 2K from the pool.bin file. (yes, that's the manpage's own spelling β "form" not "from" β we're keeping it, we don't fix, we don't touch, periodt ππ«Ά)
π¦ SEE ALSO π¦
go read those if you want the full lore, bestie, iykyk π
okay that's the whole page!! π this was brought to you by PMDK, dated 2023-05-31 β screenshot it, bookmark it, tell your friends, dump responsibly. mwah. πβ¨π¦
π¦ 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