OS Manuals

/usr/share/zfs/zfs-tests/bin/btree_test

zfs scripts

From zfs-scripts 2.4.4-r4 (os), captured 2026-11-05 by running btree_test --help (exit 1). permalink

/usr/share/zfs/zfs-tests/bin/btree_test: invalid option -- '-'
Usage:	btree_test -n <test_name>
	btree_test -s [-r <seed>] [-l <limit>] [-t timeout>] [-c check_contents]
	btree_test [-r <seed>] [-l <limit>] [-t timeout>] [-c check_contents]

    With the -n option, run the named negative test. With the -s option,
    run the stress test according to the other options passed. With
    neither, run all the positive tests, including the stress test with
    the default options.

    Options that control the stress test
	-c stress iterations after which to compare tree contents [default: 100]
	-l the largest value to allow in the tree [default: 1M]
	-r random seed [default: from gettimeofday()]
	-t seconds to let the stress test run [default: 180]

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.