GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PMEMPOOL-DUMP(1) PMDK Programmer's Manual PMEMPOOL-DUMP(1)

pmempool-dump - dump user data from persistent memory pool


$ pmempool dump [<options>] <file>

    

The pmempool invoked with dump command dumps user data from specified pool file. The output format may be either binary or hexadecimal.

By default the output format is hexadecimal.

By default data is dumped to standard output. It is possible to dump data to other file by specifying -o option. In this case data will be appended to this file.

Using -r option you can specify number of blocks/bytes/data chunks using special text format. See RANGE section for details.

-b, --binary

Dump data in binary format.

-r, --range <range>

Range of pool file to dump. This may be number of blocks for blk pool type or either number of bytes or number of data chunks for log pool type.

-c, --chunk <size>

Size of chunk for log pool type. See pmemlog_walk(3) in libpmemlog(7) for details.

-o, --output <file>

Name of output file.

-h, --help

Display help message and exit.

Using -r, –range option it is possible to dump only a range of user data. This section describes valid format of <range> string.

You can specify multiple ranges separated by commas.

<first>-<last>

All blocks/bytes/data chunks from <first> to <last> will be dumped.

-<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.


$ pmempool dump pool.bin

    

Dump user data from pool.bin file to standard output


$ 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 containing pmem blk pool to output.bin file


$ pmempool dump -r 1K-2K pool.bin

    

Dump data form 1K to 2K from pool.bin file.

pmempool(1), libpmemblk(7), libpmemlog(7), libpmemobj(7) and <http://pmem.io>
2019-07-10 PMDK - pmem Tools version 1.4

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.