From owner-freebsd-questions Fri Oct 23 02:46:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA12118 for freebsd-questions-outgoing; Fri, 23 Oct 1998 02:46:19 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns.cityip.co.za (ns.cityip.co.za [196.25.223.140]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA12113 for ; Fri, 23 Oct 1998 02:46:14 -0700 (PDT) (envelope-from wjv@cityip.co.za) Received: from wjv by ns.cityip.co.za with local (Exim 1.82 #2) id 0zWdme-0005Vz-00; Fri, 23 Oct 1998 11:45:24 +0200 Message-ID: <19981023114524.D21119@cityip.co.za> Date: Fri, 23 Oct 1998 11:45:24 +0200 From: Johann Visagie To: Jerry Preeper , freebsd-questions@FreeBSD.ORG Subject: Re: looking for user / server admin scripts Mail-Followup-To: Jerry Preeper , freebsd-questions@FreeBSD.ORG References: <3.0.5.32.19981022141543.008aa430@crash.cts.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <3.0.5.32.19981022141543.008aa430@crash.cts.com>; from Jerry Preeper on Thu, Oct 22, 1998 at 02:15:43PM -0700 X-PGP: ftp://ftp.cityip.co.za/users/wjv/pubkey.asc Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 22 Oct 1998 at 14:15 SAT, Jerry Preeper wrote: > > I was wondering if anyone has seen a good group of user admin scripts. I'm > looking for things that will give me: > > - a list of all files on the server over a certain size that I specify to > watch for large junk files accumulating that can be deleted. should show > the full path for the file and it's size. See the man page for find(1). > - a list of the most recent file date belonging to each user, using > something like the password file for the list of users and their chrooted [ snip ] Again, use find(1). > - a load testing program to see what the web server is capable of handling > before it gets bogged down based upon current configuration. Assuming here you're using Apache, the server-status module would be a good place to start. I have seen a little app somewhere which blasts requests at your server, but the value of such tests would be questionable. > - a script that would insert today's date at a predeterming place on a web > page each night at midnight, rather that using the ssi that get's executed > thousands of times every day. A tiny little shell (or Perl, if you must) script executed from a cron job will do that. -- V Johann Visagie | wjv@CityIP.co.za | Tel: +27 21 419-7878 | ICQ: 20645559 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message