search for: newselect

Displaying 5 results from an estimated 5 matches for "newselect".

Did you mean: _newselect
2020 Jan 11
2
nut on armhf, r-pi4b IOW
...nyplace else. To be fair, glancing at one specific debug log is a lot easier than fixing code that has to run on equipment that I've never seen before :-) > Perhaps a confirmation of the clamp to zero for low loads might be this > snippet from "strace upsc myups": > > newselect(4, [3], NULL, NULL, {tv_sec=5, tv_usec=0}) = 1 (in [3], left > {tv_sec=4, tv_usec=999990}) > read(3, "s ups.load \"0\"\nVAR myups ups.mfr"..., 64) = 64 > write(1, "ups.load: 0\n", 12ups.load: 0 > ) = 12 > > where it apparently reads 64, bu...
2020 Jan 11
0
nut on armhf, r-pi4b IOW
...cing at one specific debug log is a lot easier than > fixing code that has to run on equipment that I've never seen before > :-) > > > Perhaps a confirmation of the clamp to zero for low loads might be > > this snippet from "strace upsc myups": > > > > newselect(4, [3], NULL, NULL, {tv_sec=5, tv_usec=0}) = 1 (in [3], > > left {tv_sec=4, tv_usec=999990}) > > read(3, "s ups.load \"0\"\nVAR myups ups.mfr"..., 64) = 64 > > write(1, "ups.load: 0\n", 12ups.load: 0 > > ) = 12 > > > > wher...
2020 Jan 11
2
nut on armhf, r-pi4b IOW
On Jan 11, 2020, at 1:58 AM, Gene Heskett wrote: > > On Friday 10 January 2020 20:43:55 Gene Heskett wrote: > >> On Friday 10 January 2020 19:04:11 Charles Lepple wrote: >>> On Jan 10, 2020, at 5:29 PM, Gene Heskett wrote: >>>> input.transfer.high: 0 ???? Shouldn't these two be something real >>>> ???? input.transfer.low: 0 ???? ditto
2020 Jan 12
2
nut on armhf, r-pi4b IOW
...than > > fixing code that has to run on equipment that I've never seen before > > > > :-) > > : > > > Perhaps a confirmation of the clamp to zero for low loads might be > > > this snippet from "strace upsc myups": > > > > > > newselect(4, [3], NULL, NULL, {tv_sec=5, tv_usec=0}) = 1 (in [3], > > > left {tv_sec=4, tv_usec=999990}) > > > read(3, "s ups.load \"0\"\nVAR myups ups.mfr"..., 64) = 64 > > > write(1, "ups.load: 0\n", 12ups.load: 0 > > > ) = 12 >...
2020 Jan 11
0
nut on armhf, r-pi4b IOW
...r differently. (Some details here: > https://github.com/networkupstools/nut/issues/439 ) Thats asking quite a bit of you. IMO TANSTAAFL applies here, just like anyplace else. Perhaps a confirmation of the clamp to zero for low loads might be this snippet from "strace upsc myups": newselect(4, [3], NULL, NULL, {tv_sec=5, tv_usec=0}) = 1 (in [3], left {tv_sec=4, tv_usec=999990}) read(3, "s ups.load \"0\"\nVAR myups ups.mfr"..., 64) = 64 write(1, "ups.load: 0\n", 12ups.load: 0 ) = 12 where it apparently reads 64, but reports an 0, which is proba...