in reply to portable way to get system load average

I don't think Perl's core has something like that, but you can use Unix::Uptime which is multi-platform, but gotcha is that you have to recompile in each platform ( maybe this is what you trying to avoid, but unfortunately Perl doesn't ship that in its core )

  • Comment on Re: portable way to get system load average

Replies are listed 'Best First'.
Re^2: portable way to get system load average
by nigelhorne (Initiate) on Mar 12, 2020 at 12:56 UTC
    Unix::Uptime is not multi-platform. For example on Solaris you get this on installation:
    OS unsupported BEGIN failed--compilation aborted at Build.PL line 1.