Prev: Why does kompozer have such a high cpu usage when it is sitting idle?
Next: linux app to add table of contents to PDF?
From: Mark Hobley on 22 Dec 2009 08:08 In comp.os.linux.misc The Natural Philosopher <tnp(a)invalid.invalid> wrote: > somewhere I recall a utility that wraps an app in something and > intercepts and logs all its file open/close statements. > > Might be worth a crack to see WHERE it really IS looking.. Yeah. I think that strace provides this facility. I am investigating this. Cheers. Mark. -- Mark Hobley Linux User: #370818 http://markhobley.yi.org/
From: Chris Davies on 22 Dec 2009 08:03 The Natural Philosopher <tnp(a)invalid.invalid> wrote: > somewhere I recall a utility that wraps an app in something and > intercepts and logs all its file open/close statements. Chris Davies <chris-usenet(a)roaima.co.uk> wrote: > strace(1) or maybe ltrace(1) ? Further to this, I've just tried ltrace and although it feels like it should be "better" than strace, it doesn't seem to handle child processes at all well (even with -f): # Works, but ignores the child processes: ltrace -e open,open64,opendir,fopen,fopen64,popen,SYS_open sh iceweasel # Hangs (for me): ltrace -f -e open,open64,opendir,fopen,fopen64,popen,SYS_open sh iceweasel On the other hand, this does seem to work well, at the cost of significantly more complex output: strace -f -e open sh iceweasel Chris
From: Mark Hobley on 2 Jan 2010 14:08
In comp.infosystems.www.browsers.x The Natural Philosopher <tnp(a)invalid.invalid> wrote: > Best of luck tedious as.ypou know. But it gets you there. This problem is fixed in the current Unstable/Sid version, so I upgraded to that version. Mark. -- Mark Hobley Linux User: #370818 http://markhobley.yi.org/ |