How to run a truss command with piped output?
eg.
# truss -leDo /tmp/truss.out tar cvf - dirs/ | gzip -1 > archive.tar.gz
I get only the "tar" output in truss, not from gzip!
|
feedback
|
|
Have you tried using The other option that might work is:
Again, however, I don't know if it will work but this time it's because I don't know what truss does to STDIN. If both of those fail, you might get somewhere by using the
This one requires bash but it could be modified to run under other shells. All of this is assuming that you want the | |||
|
feedback
|