Index: [Article Count Order] [Thread]

Date:  Fri, 1 Aug 2008 12:25:52 +0200
From:  "thomas" <tfj-online (at mark) mail.tele.dk>
Subject:  [coba-e:13676] Re: apache suexec
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <5b0401c8f3c0$f9b099b0$967da8c0@thomasferrari>
References:  <819609.69984.qm (at mark) web65614.mail.ac4.yahoo.com> <0d1e01c8f30a$80a2baf0$967da8c0 (at mark) thomasferrari> <4891B445.1030103 (at mark) virtbiz.com> <4892315A.8060609 (at mark) dogsbody.org> <000d01c8f356$e5081bb0$6601a8c0 (at mark) OfficeKen>
X-Mail-Count: 13676


> From: "Dogsbody" <dan (at mark) dogsbody.org>
> $theuptime = `uptime`;
> chomp ($theuptime);
> ($top0, $top1, $top2, $top3, $top4, $top5) = split(/,/,$theuptime);
> chomp ($top3);
> $theload = $top3;

on my system I had to use top2 to get the load

chomp ($top2);
$theload = $top2;

>    system ("chgrp -R  $sitenumber $custdir ");
>    print "did this chgrp -R  $sitenumber $custdir\n";


Wouldn't this destroy any FrontPage sites ???
? Did not test this yet


--
Thomas