Is there a way to use strace to just show a process's stdout? I know I can do
strace -p pid -e write
but that shows calls to write(2) to multiple file descriptors. When reading the man page I also saw the -e write= option but I'm getting a bunch of other stuff when using
strace -p pid -e write=1
Basically, I want the output of the first command (strace -p pid -e write) but only showing the write(1,... outputs. I know I could filter the output, but I'm wondering if there's a way for strace to do this directly.