Would it be better to just use something more generic like uptime(1) and
parse the output?

Jon

On Fri, 12 Apr 2019 at 12:16 am, Greg Troxel <g...@lexort.com> wrote:

> I meant to get the os name and switch on that, and only try methods
> appropriate for that os.
>
-- 
___________________
Jon Marnock
jon.klo...@gmail.com

Reply via email to