Displaying 5 results from an estimated 5 matches for "12ups".
2020 Jan 11
2
nut on armhf, r-pi4b IOW
...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 probably pretty
> miniscule in the grand scheme of things if that is a 3 byte value that
> it reads.
The parameters to read() are the file descriptor, a buffer, and a length, so the "3&qu...
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 11
0
nut on armhf, r-pi4b IOW
...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 probably
> > pretty miniscule in the grand scheme of things if that is a 3 byte
> > value that it reads.
>
> The parameters to read() are the file descriptor, a buffer,...
2020 Jan 11
0
nut on armhf, r-pi4b IOW
...p 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 probably pretty
miniscule in the grand scheme of things if that is a 3 byte value that
it reads. I'd plug in a 100 watt lamp, but none have survived the mass
conversion, first to ccfl's, and now to led'...
2020 Jan 12
2
nut on armhf, r-pi4b IOW
...ups":
> > >
> > > 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 probably
> > > pretty miniscule in the grand scheme of things if that is a 3 byte
> > > value that it reads.
> >
> > The parameters to read()...