From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,9f9f5b1199899ea0,start X-Google-Attributes: gid10d4db,public From: Nic Roets Subject: smartups 1.0 - use and monitor a UPS Date: 1997/04/26 Message-ID: #1/1 X-Deja-AN: 237516419 X-Server-Date: 26 Apr 1997 13:45:23 GMT Followup-To: comp.os.linux.misc Old-Date: Thu, 24 Apr 1997 23:21:37 +0200 Organization: University of Pretoria X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce iQBVAwUBM2IHBjiesvPHtqnBAQFB9wH/eqZCTzwKYqQlPWFSfnZDGUs5m6UbyxVK /EVSUIXCgVV99/S1jGBftwVWLtn/6/qPdZF45t66qex8IhNgSQ63HA== =iMsW Newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- SmartUPS 1.0 for Un*x - --------------------- I had access to a UPS (the box says made in Taiwan, but it has a Grinaker (who makes mining equipment in South-Africa) stricker) and a computer with "Safeware plus" software installed, so I hooked up the scope to see how the protocol between the computer and the UPS worked. Then I decided that Linux should also have software to plot the voltages etc. I wrote the UPS daemon that talks to the UPS and signals to init when there is a power problem, or when the power comes back on. When it receives a TERM signal during the shutdown process, it will tell the UPS to kill the power after 30 seconds. It also listens for TCP connections and outputs the statistics in ASCII format. I wrote a general purpose graphing program that gets its data using TCP sockets and plots it on in an X11 window. Read the manpage in the package for installation instructions. I only tested it on one computer (Slackware) and UPS, so please tell me of any problems. I uploaded the package to sunsite.unc.edu /incoming/Linux, so it should be availible as /pub/Linux/system/ups/smartups-1.0.tgz soon, but if it is not, e-mail me if you want it. Nic Roets (geo@pta.lia.net) - -- This article has been digitally signed by the moderator, using PGP. http://www.iki.fi/liw/lars-public-key.asc has PGP key for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION. This group is archived at http://www.iki.fi/liw/linux/cola.html -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv iQCVAwUBM2IHBIQRll5MupLRAQEWjgQAoWGJKiCpB50H/ofnYUHodmMhSR1cgiIh VMSFlZ9wBFraqUfZrcRcApY1+jCLsPVQYDE2pcQTBVOPelStIQCBjbGZWhet24Ie XPCLyXJermKmN9d0R3OYr8zqnHT7Pzp9jNL1ccjREgz/4cts3LPbTcY6Mqp1z78U GSO/fT+G5HE= =9TH3 -----END PGP SIGNATURE-----