monitoring an fd (and only that fd)

marty leisner maleisner at gmail.com
Thu May 4 01:34:18 UTC 2023


Very nice.

Ty...

This is a feature I always found useful....so you can monitor individual
FDs without filtering through all the other events....

marty

On Tue, Apr 25, 2023 at 7:51 AM Eugene Syromyatnikov <evgsyr at gmail.com>
wrote:

> On Sat, Mar 18, 2023 at 1:40 PM Dmitry V. Levin <ldv at strace.io> wrote:
> >
> > Hi,
> >
> > On Tue, Mar 14, 2023 at 08:33:16PM -0400, marty leisner wrote:
> > > I'm using strace 5.16 (and earlier versions).
> > >
> > > How do I monitor an FD for reads/writes (and only that fd) (without
> > > resorting to post strace filters)?
> > >
> > > (I've done various combinations with --read=<set> and --write=<set>
> (which
> > > shows what I want) but I want to EXCLUDE
> > > all others fds...
> >
> > I don't think strace can filter syscalls by descriptor numbers yet,
> > although technically this shouldn't be very hard to implement.
>
> Implemented in v6.2-20-g67eb44c4d.
>
> --
> Eugene Syromyatnikov
> mailto:evgsyr at gmail.com
> xmpp:esyr at jabber.{ru|org}
> --
> Strace-devel mailing list
> Strace-devel at lists.strace.io
> https://lists.strace.io/mailman/listinfo/strace-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20230503/317cd0f1/attachment.htm>


More information about the Strace-devel mailing list