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,

RE: How to continue monitoring file access (Was: Problem solved,

From: Brian MacLean <BMacLean_at_Homebid.com>
Date: Tue, 14 Nov 2000 16:57:07 -0700
Message-Id: <10680.122065@fatcity.com>


Even if you got fuser to loop you could miss processes. Per the man page for fuser:

NOTES

     Because fuser  works with a snapshot of the system image, it
     may  miss  processes that begin using a file while fuser  is
     running. Also, processes reported as using a file  may  have
     stopped  using  it  while  fuser  was running.

-----Original Message-----
From: yong huang [mailto:yong321_at_yahoo.com] Sent: Tuesday, November 14, 2000 4:05 PM To: Multiple recipients of list ORACLE-L Subject: Re: How to continue monitoring file access (Was: Problem solved, but WHY??? (Long))

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


Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays! http://calendar.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: yong huang
  INET: yong321_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
Received on Tue Nov 14 2000 - 17:57:07 CST

Original text of this message

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