Welcome to MacForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Filemon for MacOS X

 
   Macintosh computer (Home) -> Tools RSS
Related Topics:
MacOS 8.x - Hi, I'm new to on macOS, in fact I'm new to macOS. I would like a compiler that works for 68k macs using OS8.x, is tehre any or SDK's for this OS? hopefully there is a gcc available for 68k mac cos I use gcc on PC and Amiga ..

Ann: ActiveDeveloper IDE 2.15 released for MacOS X 10.2 - 2.15 released for MacOS X 10.2 Our & C IDE, JIT compiler and Debugger Your companion for Cocoa, QuickTime now adds support for WebKit v2.15 add support for the new..

#defined symbols for MacOS X - Does anyone know if there are any #defined symbols in the compiler using the gcc compiler if the machine is MacOS X? ... or if not MacOS X BSD? I need to compile for MacOS X and Solaris 9, and would..

Minimal graphics gcc lib for MacOS-X - Hi, A member of my family studies C in his classroom under Windows, and they use a Windows IDE. On his MacOS-X Tiger machine, he uses gcc + Emacs, but lacks the of opening a simple graphics window, and drawing lines. Is there a *small*..

help ! PEF Executable using XCODE ?? - A poll with this post was created, to vote and see the results, please visit
Next:  Tools: [ANN] Easily convert your PowerPlant and carbon resources ..  
Author Message
Daniel T.

External


Since: Jul 10, 2003
Posts: 55



(Msg. 1) Posted: Tue Nov 23, 2004 11:40 pm
Post subject: Filemon for MacOS X
Archived from groups: comp>sys>mac>programmer>tools (more info?)

I'm looking for some kind of utility that can tell me what files/paths a
program/process attempts to open/create. Something like the way Filemon
works for Windows. Does anyone know of such a utility?

 >> Stay informed about: Filemon for MacOS X 
Back to top
Login to vote
Sherm Pendley

External


Since: Jul 09, 2004
Posts: 149



(Msg. 2) Posted: Tue Nov 23, 2004 11:40 pm
Post subject: Re: Filemon for MacOS X [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Daniel T. wrote:

 > I'm looking for some kind of utility that can tell me what files/paths a
 > program/process attempts to open/create.

It's a standard Unix command: lsof

sherm--

--
Cocoa programming in Perl: <a style='text-decoration: underline;' href="http://camelbones.sourceforge.net" target="_blank">http://camelbones.sourceforge.net</a>
Hire me! My resume: <a style='text-decoration: underline;' href="http://www.dot-app.org" target="_blank">http://www.dot-app.org</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Filemon for MacOS X 
Back to top
Login to vote
Daniel T.

External


Since: Jul 10, 2003
Posts: 55



(Msg. 3) Posted: Wed Nov 24, 2004 7:40 am
Post subject: Re: Filemon for MacOS X [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sherm Pendley <spamtrap.TakeThisOut@dot-app.org> wrote:

 > Daniel T. wrote:
 >
  > > I'm looking for some kind of utility that can tell me what files/paths a
  > > program/process attempts to open/create.
 >
 > It's a standard Unix command: lsof

Thanks, but AFAICT lsof only shows a list of files that the program has
successfully opened. I'm looking for a list of open attempts. In other
words if the program tried to open a particular file for writing but
couldn't do it, I want something that will tell me where the program was
trying to write to.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Filemon for MacOS X 
Back to top
Login to vote
Reinder Verlinde

External


Since: Feb 18, 2004
Posts: 173



(Msg. 4) Posted: Wed Nov 24, 2004 3:40 pm
Post subject: Re: Filemon for MacOS X [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <postmaster-4C662A.22185323112004.TakeThisOut@news1.east.earthlink.net>,
"Daniel T." <postmaster.TakeThisOut@earthlink.net> wrote:

 > I'm looking for some kind of utility that can tell me what files/paths a
 > program/process attempts to open/create. Something like the way Filemon
 > works for Windows. Does anyone know of such a utility?

I do not know whether they look or behave 'like the way Filemon works
for Windows', but take a look at fs_usage, sc_usage and/or ktrace.

Reinder<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Filemon for MacOS X 
Back to top
Login to vote
Daniel T.

External


Since: Jul 10, 2003
Posts: 55



(Msg. 5) Posted: Thu Nov 25, 2004 1:40 pm
Post subject: Re: Filemon for MacOS X [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Reinder Verlinde <reinder DeleteThis @verlinde.invalid> wrote:

 > In article <postmaster-4C662A.22185323112004 DeleteThis @news1.east.earthlink.net>,
 > "Daniel T." <postmaster DeleteThis @earthlink.net> wrote:
 >
  > > I'm looking for some kind of utility that can tell me what files/paths a
  > > program/process attempts to open/create. Something like the way Filemon
  > > works for Windows. Does anyone know of such a utility?
 >
 > I do not know whether they look or behave 'like the way Filemon works
 > for Windows', but take a look at fs_usage, sc_usage and/or ktrace.

After some basic experimentation, fs_usage is close to what I want. It
doesn't seem to list failed open attempts though and that is exactly
what I am looking for. Maybe if I explained why I need something like
this.

The idea is to find a tool that shows what files a particular program is
attempting to open, and wether it is attempting read or write access so
that I know how to set up file/folder permissions for users.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Filemon for MacOS X 
Back to top
Login to vote
Reinder Verlinde

External


Since: Feb 18, 2004
Posts: 173



(Msg. 6) Posted: Thu Nov 25, 2004 2:40 pm
Post subject: Re: Filemon for MacOS X [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <postmaster-75E32A.12310025112004.DeleteThis@news1.east.earthlink.net>,
"Daniel T." <postmaster.DeleteThis@earthlink.net> wrote:

 > After some basic experimentation, fs_usage is close to what I want. It
 > doesn't seem to list failed open attempts though and that is exactly
 > what I am looking for. Maybe if I explained why I need something like
 > this.

On my system, it does:

reinder> sudo fs_usage -e -f filesys | grep open &
reinder> cat doesNotExist

19:15:00 open /usr/lib/libSystem.B.dylib 0.000051 cat
19:15:00 open /usr/lib/system/libmathCommon.A.dylib 0.000045 cat
19:15:00 open doesNotExist 0.000129 cat

Perhaps the application you are targeting does a stat instead of an open?

Reinder<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Filemon for MacOS X 
Back to top
Login to vote
Daniel T.

External


Since: Jul 10, 2003
Posts: 55



(Msg. 7) Posted: Thu Nov 25, 2004 11:40 pm
Post subject: Re: Filemon for MacOS X [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Reinder Verlinde <reinder RemoveThis @verlinde.invalid> wrote:

 > In article <postmaster-75E32A.12310025112004 RemoveThis @news1.east.earthlink.net>,
 > "Daniel T." <postmaster RemoveThis @earthlink.net> wrote:
 >
  > > After some basic experimentation, fs_usage is close to what I want. It
  > > doesn't seem to list failed open attempts though and that is exactly
  > > what I am looking for. Maybe if I explained why I need something like
  > > this.
 >
 > On my system, it does:
 >
 > reinder> sudo fs_usage -e -f filesys | grep open &
 > reinder> cat doesNotExist
 >
 > 19:15:00 open /usr/lib/libSystem.B.dylib 0.000051 cat
 > 19:15:00 open /usr/lib/system/libmathCommon.A.dylib 0.000045 cat
 > 19:15:00 open doesNotExist 0.000129 cat
 >
 > Perhaps the application you are targeting does a stat instead of an open?

Yes, you are quite correct... Thanks for pointing that out.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Filemon for MacOS X 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> Tools All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]