1. [OT] Usage

I have the binaries for php stored in a folder, so that I and other people
can run the php scripts there without needing a php server.
However, I want to cut down the number of files in there, to only what
php.exe and the scripts need.

Is there anyway to track whether a file is accessed? I'd like to run the
scripts, check which files are actually used, then delete anything else.

I *could* do it as a trial and error thing, i.e. remove a file... if it
breaks put it back....remove a file.... if it breaks etc.... but there's 364
files, so I'd rather not have to.

The binaries will never have to run any other scripts than these, and
these are not going to change dramatically, so I'm not worried about that.


hmmmmmmm.....
==============================================
 _______<-------------------\__
/  _____<--------------------__|===
| |_    <-------------------/
\__| Patrick Barnes




***********************************************************************

"This electronic message and any attachments may contain privileged
and confidential information intended only for the use of the
addressees named above.  If you are not the intended recipient of
this email, please delete the message and any attachment and advise
the sender.  You are hereby notified that any use, dissemination,
distribution, reproduction of this email is prohibited.

If you have received the email in error, please notify TransGrid
immediately.  Any views expressed in this email are those of the
individual sender except where the sender expressly and with
authority states them to be the views of TransGrid.  TransGrid uses
virus scanning software but excludes any liability for viruses
contained in any attachment.

Please note the email address for TransGrid personnel is now
firstname.lastname at transgrid.com.au"

***********************************************************************

new topic     » topic index » view message » categorize

2. Re: [OT] Usage

On Tue, 26 Nov 2002 15:35:14 +1100, Patrick.Barnes at transgrid.com.au
wrote:

>Is there anyway to track whether a file is accessed? I'd like to run the
>scripts, check which files are actually used, then delete anything else.

try installing webalizer http://www.mrunix.net/webalizer/

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu