|
NAMEapctest —
apcupsd(8) test program
SYNOPSIS
DESCRIPTIONapctest is a program that enables the running of certain
low-level tests to check the operation of the attached simple signalling
American Power Conversion Corp (APC) UPS and to check that your
apcupsd(8)
configuration is correctly setup and can establish communication with the UPS.
For an APC UPS operating in APC smart protocol mode,
IMPORTANT: Before running
When run,
USB PORTWhen using a UPS connected to a USB port (eg Back-UPS RS 1500), the following menu options will appear:Option 1) Test kill UPS powerPerforms a power down of the UPS into hibernate mode.Option 2) Perform self-testPerforms an immediate self-test (switches to battery power to do so).Option 3) Read last self-test resultDisplays the last self-test result.Option 4) View/Change battery dateDisplays the current battery replacement date and optionally allows you to change it - useful when the battery is replaced so that you can accurately keep track of its age.Option 5) View manufacturing dateDisplays the date the UPS was manufactured.Option 6) View/Change alarm behaviorSets the delay period before the UPS starts sounding its alarm when the utility power is lost.Option 7) View/Change sensitivityChanges how sensitive the UPS is to the utility power quality and voltage fluctuations - (H)igh, (M)edium or (L)ow. The higher the sensitivity, the faster the UPS will switch to battery power or activate SmartBoost/SmartTrim (features that avoid using battery power provided the under/over voltage is within 12% of nominal). This setting should normally be set to High unless the UPS switches to battery power frequently, in which case a less sensitive setting will preserve UPS batteries... if the connected equipment can tolerate the power quality.Option 8) View/Change low transfer voltageSets the low voltage level at which the UPS switches to battery or activates SmartBoost.Option 9) View/Change high transfer voltageSets the high voltage level at which the UPS switches to battery or activates SmartTrim.Option 10) Perform battery calibrationThis performs a battery runtime calibration. This can only be performed if your battery is charged to 100% of capacity. The runtime calibration discharges the UPS battery to approximately 25% of capacity. The exact percentage depends on the UPS model.The advantage of doing this calibration is that the UPS will recalibrate the remaining runtime counter that it maintains and therefore report a more accurate estimated runtime. As batteries age, they tend to hold less charge, so the UPS's internal runtime counter may not be accurate after several years. It is recommended that battery runtime calibration be performed annually. Performing it too often shortens the lifetime of the UPS batteries. Option 11) Test AlarmThis option will cause the UPS alarm beeper to sound for several seconds.Option 12) View/Change self-test intervalThis option allows you to change the time interval between automatic UPS self-tests.Option Q) QuitExits from the program.SERIAL PORT (SMART PROTOCOL MODE)When using a UPS operating in APC smart protocol mode (eg a Smart-UPS) the following menu options will appear:Option 1) Query the UPS for all known valuesSelecting this option probes the UPS for all EEPROM configuration variable values known toapctest and displays them in rather
raw format. This output can be useful for providing technical support if you
are having problems with the behaviour of the UPS or
apcupsd(8).
Option 2) Perform a Battery Runtime CalibrationThis performs a battery runtime calibration. This can only be performed if your battery is charged to 100% of capacity. The runtime calibration discharges the UPS battery to approximately 25% of capacity. The exact percentage depends on the UPS model.apctest can optionally abort the
calibration if it detects that the battery charge is below 10%.
The advantage of doing this calibration is that the UPS will recalibrate the remaining runtime counter that it maintains and therefore report a more accurate estimated runtime. As batteries age, they tend to hold less charge, so the UPS's internal runtime counter may not be accurate after several years. It is recommended that battery runtime calibration be performed annually. Performing it too often shortens the lifetime of the UPS batteries. Option 3) Abort Battery CalibrationThis option aborts an in progress battery runtime calibration.Option 4) Monitor Battery Calibration progressAllows restarting of the monitoring of a battery runtime calibration.Option 5) Program EEPROMAllows the programming of the values of a Smart-UPS's EEPROM configuration variables.Choosing this option presents a sub-menu of programming options which are detailed below.
Option 6) Enter TTY mode communicating with UPSThis option allows direct interaction with the attached UPS using the APC smart protocol commands.WARNING: Take special care what commands you enter because it is possible to cause the UPS to suddenly shutdown or, in the worst case, modify the UPS in such a way as to permanently disable it. Do NOT experiment with unknown or unsupported commands. Caveat Utilitor! Option 7) QuitExits from the program.SERIAL PORT (SIMPLE SIGNALLING MODE)When using an APC UPS operating in simple signalling mode the following menu options will appear:Option 1) Test 1 - normal modeThe test result depends on the model of UPS and type of cable being used. Refer to the "Using apctest on Serial-Line UPSses" section in the apcupsd manual for details.Option 2) Test 2 - no cableThe test result depends on the model of UPS and type of cable being used. Refer to the "Using apctest on Serial-Line UPSses" section in the apcupsd manual for details.Option 3) Test 3 - no powerThe test result depends on the model of UPS and type of cable being used. Refer to the "Using apctest on Serial-Line UPSses" section in the apcupsd manual for details.Option 4) Test 4 - low battery (requires Test 3 first)The test result depends on the model of UPS and type of cable being used. Refer to the "Using apctest on Serial-Line UPSses" section in the apcupsd manual for details.Option 5) Test 5 - battery exhaustedThe test result depends on the model of UPS and type of cable being used. Refer to the "Using apctest on Serial-Line UPSses" section in the apcupsd manual for details.Option 6) Test 6 - kill UPS powerThe test result depends on the model of UPS and type of cable being used. Refer to the "Using apctest on Serial-Line UPSses" section in the apcupsd manual for details.Option 7) Test 7 - run tests 1 through 5This option hasapctest guess which cable should be used
with the attached UPS.
Option 9) QuitExits from the program.FILES/etc/apcupsd/apcupsd.conf default configuration fileapctest.out transcript of the
SEE ALSOapcupsd.conf(5), apcupsd(8).The HTML apcupsd manual installed on your system or available online at http://www.apcupsd.org/ AUTHORSThis pageTrevor Roydhouse (current)Robert Huff SoftwareAdam Kropelin (current Project Manager and Code Maintainer) Kern Sibbald (former Project Manager and Code Maintainer) Riccardo Facchetti (former Project Manager and Code Maintainer) Andre M. Hedrick (Project Founder and former Code Maintainer) ContributorsAn enormous number of users who have devoted their time and energy to this project -- thanks.
Visit the GSP FreeBSD Man Page Interface. |