Categories
Knowledge Support Support exacqVision Server Categories Products

Manually executing evselftest

Description

evselftest binary location

Windows 32-bithttps://svn.exacq.com:8443/!/#3PV/view/head/exacq/evselftest/tags/1.0.0.97921/Windows_x86_vc9
Windows 64-bithttps://svn.exacq.com:8443/!/#3PV/view/head/exacq/evselftest/tags/1.0.0.97921/Windows_x64_vc9
Linuxhttps://svn.exacq.com:8443/!/#3PV/view/head/exacq/evselftest/tags/1.0.0.96435/Linux_x86


command help

admin@exacqVision-Server:/tmp$ sudo ./evselftest Supported options: -h [ --help ] show help

-c [ --cmd ] arg self-test command to execute. supported options are startshort, startlong, stop, report

-d [ --disk ] arg [optional] – disk on which self-test command to execute. If this option is missing, all drives are selected.

-v [ --version ] print version

-s [ --server ] arg [optional] – evServer root directory

executing the commands manually

  1. start short test (starts test on *all* disks)
    • * evselftest -c startshort -s /usr/local/exacq/server
    • * -s option is required if evselftest is located somewhere other than server directory
  2. start short test on one disk
    • * evselftest -c startshort -d /dev/sda -s /usr/local/exacq/server
    • * -s option is required if evselftest is located somewhere other than server directory
  3. start long test (starts test on *all* disks)
    • * evselftest -c startlong -s /usr/local/exacq/server
    • * -s option is required if evselftest is located somewhere other than server directory
  4. start long test on one disk
    • * evselftest -c startlong -d /dev/sda -s /usr/local/exacq/server
    • * -s option is required if evselftest is located somewhere other than server directory
  5. stop a test (stops test on *all* disks)
    • * evselftest -c stop -s /usr/local/exacq/server
    • * -s option is required if evselftest is located somewhere other than server directory
  6. stop test on one disk
    • * evselftest -c stop -d /dev/sda -s /usr/local/exacq/server
    • * -s option is required if evselftest is located somewhere other than server directory
  7. print report – to get the percent complete of a running test or to get the test results
    • * evselftest -c report -s /usr/local/exacq/server
    • * -s option is required if evselftest is located somewhere other than server directory
    • * The output is formatted in xml, so instead of printing the report on the console, redirect the output to a file.
    • * sample output
    • * the tool will report the result of last 20 tests executed on the drive
    • SelfTestStatus 1= running, 0= not running
    • * PcRemain – how much test is remaining in percent total
    • * Report
      • ## ID = 1 is the most recent completed test
      • ## Status is the description of the test outcome