Skip to main content

How to Observe stderr of a Process

·80 words·1 min·
Julien Gabel
Author
Julien Gabel
Multi-platform UNIX systems administrator and consultant in mutualized and virtualized environments.

"How to observe stderr of a process" is a recently asked question seen on the the observability-discuss forum on opensolaris.org, ending with:

I've tried "truss", but it outputs only part of the buffers being written.

As always, a simple answer show up very quickly from a community member, in this case James Carlson:

Have you tried the "-w" option on truss? "truss -t\!all -w2" should do what you're asking.

Feel good to have lots of nice people on these lists!