Maybe also try strace, truss and the likes to see what syscalls it makes?
e.g. falls on read/select?..

Jim

On Sun, Dec 18, 2022, 23:04 vom513 via Nut-upsuser <
[email protected]> wrote:

> Debug doesn’t seem to say much:
>
> [root@ss20 ~]# LD_LIBRARY_PATH=/usr/local/ups/lib
> /usr/local/ups/sbin/upsmon -DDDDDDDDDDDD
> Network UPS Tools upsmon 2.8.0
>    0.000000     Failed to read pid from /var/run/upsmon.pid
>    0.008469     Could not parse PID file to see if previous upsmon
> instance is already running!
>
>    0.024417     UPS: [email protected] (secondary) (power value 1)
>    0.038074     Using power down flag file /etc/killpower
>    0.053368     [D1] debug level is '12'
>    0.062147     [D1] debug level is '12'
>    0.263514     upsmon parent: read
>
> It exits immediately as well.
>
>
> _______________________________________________
> Nut-upsuser mailing list
> [email protected]
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
>
_______________________________________________
Nut-upsuser mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser

Reply via email to