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. -- Met vriendelijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>