Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to continue monitoring file access (Was: Problem solved, but WHY??? (Long))

Re: How to continue monitoring file access (Was: Problem solved, but WHY??? (Long))

From: Jared Still <jkstill_at_bcbso.com>
Date: Wed, 15 Nov 2000 08:06:52 -0800 (PST)
Message-Id: <10681.122119@fatcity.com>


On Tue, 14 Nov 2000, yong huang wrote:

> Thanks, Jared.
>
> gethrtime() is going to use a lot CPU, isn't it? What I really want is to
> capture fuser or lsof output absolutely without a single miss and it doesn't
> use much CPU. I hope there's a way to tell fuser that whenever a file (such as
> sqlnet.ora) is read by a process, fuser writes the process info to a log file
> (or a pipe we create) so we can tail -f that_log_file.
>
> Yong Huang
> yong321_at_yahoo.com
>

There's also the 'nanosleep' call, but I couldn't get it to work right. ( I'm not a C programmer )

For what you are asking, you probably need to write your own code to read the process table.

Depending on platform, you may even be able to do it in Perl via the Proc::ProcessTable module. Received on Wed Nov 15 2000 - 10:06:52 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US