AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Computer battery back up11/23/2023 Please select the function you want to perform. This part of apctest is for testing USB UPSes. Hello, this is the apcupsd Cable Test program. You are using a USB cable type, so I'm entering USB test mode. Sharenet.type = Network & ShareUPS Disabled Then you can launch apctest, which uses a menu-based interface. Unfortunately, the apctest command conflicts with the apcupsd daemon, so you need to stop apcupsd temporarily. Self-tests are performed once every seven days on most UPS systems, but you can initiate one using the apctest command. Usually, that would be the time of the last system boot. In the output from the apcaccess command above, the SELFTEST line says NO. This response means that a self-test has not been performed on this UPS since acpupsd was last started. The displayed data can differ according to the UPS model. The man page for apcaccess describes the rest of the data items in this output. The TONBATT line is the time for a current ongoing power loss event. This field accumulates all of the power outage times over multiple events. Other items to look at include the CUMONBATT line, which is the cumulative time the UPS has been running on battery. In this example, if power fails, the UPS can run at the current load for 22.5 minutes. The TIMELEFT is the field of most concern. When the unit is plugged in and power is applied, the battery charge (BCHARGE) should be 100%, but it will be lower when external power is removed. The load percentage (LOADPCT) indicates how much load is being placed on the UPS. In the output above, there are three fields of particular interest for managing battery backup. Free online course: RHEL Technical Overview.This command without any options generates a status report describing the current state of the UPS. Basic usageĪt this point, the apcupsd daemon has been started, so you can interact with it using the apcaccess command. Other distributions also have apcupsd in their repositories. # systemctl start apcupsd systemctl enable apcupsd The following commands start and enable apcupsd so that it will restart after reboots. Issue the following command as root to install apcupsd: Install apcupsd on Linuxīecause it is available from the Fedora repository, installation of apcupsd is simple. Their efficacy on other UPS vendors' systems depends on how closely they follow the APC management interface. Nor is the apcupsd documentation helpful on this, and I have seen nothing definitive in any web searches.īe aware that the "APC" portion of the names of these tools indicates that they were designed for APC UPS systems. I have not found a list of supported UPS systems. I currently have UPS systems from all three of these manufacturers running on networks for which I have responsibility. This set of tools supports APC UPS systems and provides varying degrees of support for UPS systems produced by Tripp-Lite, CyberPower, and others. However, the apcupsd utility supports Linux, Windows, BSD, Solaris, and macOS, providing consistency across operating systems. Windows computers generally use a free version of the software provided by the UPS vendor. A system service manages the communications and sends appropriate commands to both the UPS and the computer. The computer and UPS communicate through a serial or USB cable. Otherwise, the sudden loss of power can lead to loss of data. In the case of these longer outages, the function of the modern UPS is to notify the computer to power down before the UPS runs out of battery power. Unfortunately, there were no Uninterruptible Power Supply (UPS) systems to keep my PC up and running through these annoying and sometimes destructive incidents.Ī UPS keeps a computer running long enough to last through minor power events, such as outages and surges of a few seconds up to as much as 20 or 30 minutes. The short but frequent power outages caused me to lose my work more than once. I did this work in Boca Raton, Florida, where the small, local power company was commonly known as "Florida Flicker and Flash," with good reason. To complete the course in time for the IBM, ComputerLand, and Sears training, IBM gave me a PC to take home so I could work over evenings and weekends-arguably the first instance of anyone having an IBM PC in their home. Back in the early days of personal computers, I wrote the IBM training course for the original IBM PC.
0 Comments
Read More
Leave a Reply. |