Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dtracing unlink



Hi Thomas,

Thomas Klausner wrote:

> On Fri, Oct 20, 2023 at 11:20:00PM +0200, Roland Illig wrote:
> > Am 20.10.2023 um 22:38 schrieb Thomas Klausner:
> > > Hi!
> > >
> > > I'm trying to find out what a program does, and found it does a lot of
> > > unlink syscalls, so I wanted to see what it unlinks.
> > 
> > Did you try 'ktruss | grep NAMI' before diving deep into dtrace?
>
> The interesting work load is _very_ long running, so I'm not sure I
> want to ktrace all of it - so no, I didn't do that yet.

Does it get to a phase where it is unlinking lots?  You can attach a
ktruss/ktrace to a running process with -p <pid> if that helps.

Would be nice if we could filter on specific syscalls like Linux's
strace does.  Maybe a GSOC project?

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index