similar to: Patch - NUT-monitor: parse battery.runtime as a float instead of as int

Displaying 20 results from an estimated 10000 matches similar to: "Patch - NUT-monitor: parse battery.runtime as a float instead of as int"

2013 Jul 17
0
Patch - NUT-monitor: parse battery.runtime as a float instead of as int
forgot to hit reply-all. On Jul 16, 2013, at 10:54 PM, Charles Lepple wrote: > On Jul 16, 2013, at 9:33 AM, Sven Putteneers wrote: > >> I've attached a patch that changes the parsing of battery.runtime in >> NUT-monitor from int to float. >> This already happens for ups.temperature, charge and load. >> >> Without this patch, I get a flood of
2008 Jul 18
1
[Nut-upsdev] Shutdown by battery.remaining or battery.runtime?
> If you have any more questions regarding this, please use the nut-upsuser > mailinglist instead. Redirected to the appropriate list, sorry. > > Is there a place in the upsmon.conf (or elsewhere) > > file where one may enter something like: > > > > OVERRIDE_BATTERY_CHARGE_LOW 20 > > OVERRIDE_BATTERY.LOW 240 > > > See 'man 8 upsrw'.
2008 Jul 17
1
Shutdown by battery.remaining or battery.runtime?
On a test shutdown of an APC Back-UPS RS1500 upsc was run periodically to follow the UPS discharge, it showed these values: battery.low 120 battery.charge.low 10 As it turned out, the battery.charge.low was encountered first and the system shut down there. However, considering the rate at which the charge was falling at the end I would much rather have had it shutdown sooner than it did. Is
2008 Jun 03
2
[LLVMdev] Truncate float to int?
Newbie question here: what's the best way to truncate a float to a signed int? The fptosi instruction rounds, and the fptrunc instruction simply truncates from a large float type to a smaller float type. Mark
2008 Jun 03
0
[LLVMdev] Truncate float to int?
On Tue, Jun 3, 2008 at 11:32 AM, Mark Leone <markleone at gmail.com> wrote: > Newbie question here: what's the best way to truncate a float to a > signed int? The fptosi instruction rounds, and the fptrunc > instruction simply truncates from a large float type to a smaller > float type. fptosi is equivalent to a C cast from float to int. -Eli
2010 Dec 27
0
[LLVMdev] how to convert from float to int with round to even
Hi! is there an instruction or intrinsic that converts from float to integer with round to even? It should function like open cl-style convert_int_rte(myFloat) -Jochen
2002 Mar 26
0
int or float?
Hi Vorbis, Now I get libvorbis-rc3 + integerized mdct_backward + integerized window running. The sound output is ok. Now we have to go further on possible optimization of the code in order to have the music played realtime on our chip (LEON-Sparc). There are 2 possible ways: 1.Make everything integer, remove all floating point usage. Then we can remove FPU and can run the chip at higher
2004 May 05
1
optimizing float to int conversions
Hi, We compiled libvorbis with vc6 enviroment. We've discovered that changing float to int conversion results in a 4% speedup on a benchmark we've come with on pentium4 3GHz. We'd like to submit the code. We haven't checked it on AMD. Yet, as you can see in the code, it shouldn't be a problem. Should we think of other machines except for AMD/Intel machines? Tal&Adir P.S.
2004 Mar 17
1
reading short int and float from binary connection
Hi, I have a binary file with mixture of short integers (2 bytes) and floats (4 bytes). To get the data into R I use readBin reading each value one at a time (n=1) but it is giving me headaches, two questions: -In the "what" option is there any difference between "integer" and "int"? -To read the short int I use what="int" and size=2 and to read the
2020 May 04
2
RFC: [GlobalISel] propagating int/float type information
> On May 4, 2020, at 2:01 PM, Matt Arsenault via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > >> On May 1, 2020, at 14:00, Amara Emerson <aemerson at apple.com <mailto:aemerson at apple.com>> wrote: >> >> The other thing we could do is to assign speculative regbanks to vregs during translation (if the target wants to opt-in), and then RBS
2007 Dec 10
1
Driver: apcsmart, SMART-UPS 2200, battery.runtime status information?
Hello, We have a APC SMART-UPS 2200 which gives the following status information: battery.alarm.threshold: 0 battery.charge: 089.0 battery.charge.restart: 00 battery.date: 01/10/04 battery.packs: 000 battery.runtime: 21180 battery.runtime.low: 120 battery.voltage: 52.95 battery.voltage.nominal: 048 driver.name: apcsmart driver.parameter.pollinterval: 2 driver.parameter.port: /dev/ttyS0
2016 Mar 08
0
Incorrect battery.runtime.low being reported?
On Mar 6, 2016, at 1:40 AM, Mike Lee <curby+forums at cur.by> wrote: > > As part of the desired second configuration, I reset the UPS to report > low battery when it had 10 minutes (600s) of estimated battery left. > However, battery.runtime.low as reported to NUT is still the default > of 120. "There are 2 hard problems in computer science: cache invalidation, naming
2016 Mar 09
0
Incorrect battery.runtime.low being reported?
On Mar 8, 2016, at 12:54 PM, Mike Lee <curby+forums at cur.by> wrote: > > On Mon, Mar 7, 2016 at 9:00 PM, Charles Lepple <clepple at gmail.com> wrote: >> If you stop and start the driver, it should refresh. > > Hi Charles, thanks for the reply! Pardon the dead horse beating, but > I just want to clarify/confirm two things: > > 1) I did my full power down
2018 Dec 04
0
battery.runtime
On Dec 4, 2018, at 10:12 AM, Danny Siminiuk <daniel at siminiuk.com> wrote: > > First time poster but I've been using NUT periodically for a long time. > > I was looking for a way to initiate a shutdown on servers when UPS battery runtime drops to a certain threshold. I never found a published way after much searching. > > Does “ignorelb” do what you need? See the
2018 Dec 05
0
battery.runtime
On Dec 4, 2018, at 1:38 PM, Danny Siminiuk <daniel at siminiuk.com> wrote: > > I don't think "ignorelb" will work in my case because that is set on the master. I am using the nut package in pfSense as the master and I want pfSense to shutdown on LOWBATT as designed. > Ah, the multiple thresholds weren't clear from your original post. I haven't tried this,
2018 Dec 06
1
battery.runtime
That's an idea Charlie. The APC UPS I am using has an AP9630 card in it and pfSense is grabbing the snmp. I could try to use the USB cable on the FreeNAS so both could be masters. ----- Original Message ----- From: "Charles Lepple" <clepple at gmail.com> To: "Danny Siminiuk" <daniel at siminiuk.com> Cc: "nut-upsuser" <nut-upsuser at
2020 Feb 11
1
[PATCH 39/62] x86/sev-es: Harden runtime #VC handler for exceptions from user-space
On Tue, Feb 11, 2020 at 5:53 AM Joerg Roedel <joro at 8bytes.org> wrote: > > From: Joerg Roedel <jroedel at suse.de> > > Send SIGBUS to the user-space process that caused the #VC exception > instead of killing the machine. Also ratelimit the error messages so > that user-space can't flood the kernel log. What would cause this? CPUID? Something else? --Andy
2010 Dec 14
1
Setting Battery Runtime Low
Dear All, We have an Eaton 9395 UPS, with a ConnectUPS Web/SNMP card. I've successfully configured NUT to talk to the SNMP card, however it reports a battery.runtime.low of 1 , not much use, how do I change this value, is it defined by the UPS itself, the SNMP card, or NUT ? Output of upsc below. Cheers Stuart rcs-manage-1:~ # !upsc upsc phys-eaton ambient.temperature: 27.0
2024 Apr 24
1
CyberPower CST150UC: Question re: battery.runtime.low configuration settings
> On Apr 23, 2024, at 3:51?PM, tim.o via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> wrote: > > The value changed to battery.runtime.low: 16, instead of 3600. I don't understand why, because executing the command resulted in SUCCESS. Unfortunately, the SUCCESS response is just saying that upsrw was able to send that request to upsd (i.e. the username/password were
2020 May 01
2
RFC: [GlobalISel] propagating int/float type information
> On May 1, 2020, at 10:28 AM, Arsenault, Matthew <Matthew.Arsenault at amd.com> wrote: > > [AMD Public Use] > > > It seems to me like you're looking for a workaround for the fact that nobody has put any serious optimization effort into RegBankSelect Practically speaking, we have a compile time budget, and spending that on reconstructing information which we