nbmines
Benchmark GPU performance for cryptocurrency mining
SYNOPSIS
nbmines [-d] [-n max] [-p plugindir] [-t test-plugins] [plugin ...]
PARAMETERS
-d
Enable debugging; print verbose messages to standard error.
-n max
Limit the maximum number of plugins to load to max.
-p plugindir
Use plugins from the specified plugindir, overriding the default locations.
-t test-plugins
Run only plugins whose names match test-plugins.
plugin ...
Only test the named plugins.
DESCRIPTION
The `nbmines` command is a utility for testing and enumerating plugins used by nbdkit, the Network Block Device (NBD) server toolkit. It systematically loads each plugin found in nbdkit's plugin directory and performs a series of checks to ensure the plugin is functioning correctly. This involves calling various plugin methods and verifying expected results. `nbmines` helps to identify issues such as broken plugins, ABI compatibility problems, or resource leaks within plugins. By running `nbmines`, developers and administrators can quickly assess the health and stability of their nbdkit plugin ecosystem.
The primary output of `nbmines` is a list of plugins and their status (pass/fail). Failed tests usually indicate a problem with the plugin that needs to be addressed. It's an important tool in the development and maintenance workflow of nbdkit.
CAVEATS
The output of `nbmines` can be quite verbose, especially with the `-d` option. Interpret the output carefully, and consult the nbdkit documentation for details of the plugin API.
EXIT STATUS
nbmines exits with status 0 if all plugins tested pass. It exits with status 1 if any plugin fails, or if an error occurs preventing it from running all the tests.
SEE ALSO
nbdkit(1), nbdkit-plugin(3)