CLI#

Synopsis#

rvs [-h|-g|-t|–version|–help|–listTests|–listGpus] rvs [[[-d|–debugLevel] 0|–quiet] | [[-d|–debugLevel] 1|2|3|4] | [[-d|–debugLevel] 5|–verbose|-v]] [-c path/config_file] [-l path/log_file [-a] [-j]]

Options#

-a --appendLog     When generating a debug logfile, do not overwrite the content
                   of the current log. Use in conjuction with -d and -l options.

-c --config        Specify the test configuration file to use. This is a mandatory
                   field for test execution.

-r --run           Specify the test level to run. Valid range is 1 to 5, with 5
                   indicating the highest stress test level.

-d --debugLevel    Specify the debug level for the output log. The range is 0-5 with
                   5 being the highest verbose level.

-g --listGpus      List all the GPUs available in the machine, that RVS supports and
                   has visibility.

-i --indexes       Comma separated list of GPU ids/indexes to run test on. This overrides
                   the device/device_index values specified for every actions in the
                   configuration file, including the ‘all’ value.

-j --json          Generate output file in JSON format.
                   if a path follows this argument, that will be used as json log file;
                   else a file created in /var/tmp/ with timestamp in name.
-l --debugLogFile  Generate log file with output and debug information.


-t --listTests     List the test modules present in RVS.

-v --verbose       Enable verbose reporting. Equivalent to specifying -d 5 option.

-n --numTimes      Number of times the test repeatedly executes. Use in conjunction
                   with -c option.

   --quiet         No console output given. See logs and return code for errors.

   --version       Display version information and exit.

-h --help          Display usage information and exit.

Exit Status#

0        - if OK
non-zero - otherwise

Examples#

rvs -c conf/gpup1.conf -d 3 -j -l mylog.txt Runs rvs with configuration file conf/gpup1.conf and writes text output into log file mylog.txt using logging level 3 (INFO) and writes to a file in /var/tmp/ folder in JSON format.Name of json log file will be printed to stdout/text log file

For more details consult the User Guide located in: [install_base]/userguide/html/index.html