On Sat, 8 Mar 2008 16:08:10 +0100
Juerd Waalboer <[EMAIL PROTECTED]> wrote:
> Peter Eisch skribis 2008-03-07 16:17 (-0600):
> > $self->{_args}->{uptime} = '/usr/bin/uptime'
> > if (! defined $self->{_args}->{uptime});
> > (...)
> > my $res = `$self->{_args}->{uptime}`;
>
> Especially during high load, forking and executing uptime may not be
> such a wise thing to do, depending on how well your platform handles
> this under high load.
True. The goal is to avoid swamping the system.
I'm happy to take patches that keep the plugin universal and gather the
stats better.