Andrei Borzenkov wrote:
On Mon, May 15, 2023 at 11:12 AM Per Jessen <per@opensuse.org> wrote:
On my leap155 box, I don't have any 'pidof'. It seems to be part of sysvinit-tools. Looking at the contents of that, at least pidof and usleep seem to be quite useful - I wonder if they ought to be moved to some other package.
pidof is provided by procps on Tumbleweed, Leap is explicitly built to exclude pidof from procps.
Interesting, I wonder why.
GNU sleep supports fractional intervals so "usleep 1" == "sleep 0.000001".
Heh, it does indeed! Pity it doesn't accept the suffixes ms and us too. I guess the fractions work mostly by coincidence? There is no mention in the man page. I have to say, it would never have occurred to me to even try that. Anyway, thanks, I think it'll be one of those I actually remember! -- Per Jessen, Zürich (13.8°C) Member, openSUSE Heroes (2016 - present) We're hiring - https://en.opensuse.org/openSUSE:Heroes