I've been reading up on interesting Terminal commands (I've used it forever, but there's always more to learn) when I ran across this. I ran
sudo fs_usage and got a whole lot of this:
... 13:39:09 ioctl 0.000019 WindowServer 13:39:09 ioctl 0.000017 WindowServer 13:39:09 ioctl 0.000020 WindowServer 13:39:09 ioctl 0.000018 WindowServer ...
I figure, if I ever actually need to use this, it would be nice to have a way not only to filter out filesystem activity related to the WindowServer, in particular, but other processes as well. It would also be nice to specify a service or process for which to return information.
Have I misread the usefulness of this function? Is there a way to get rid of those numerous WindowServer calls? Can I specify the processes in which I'm interested?