Berkeley CSUA MOTD:Entry 42798
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/04/04 [General] UID:1000 Activity:popular
4/4     

2006/4/21-24 [Recreation/Activities, Computer/SW/Unix, Computer/SW/Security] UID:42798 Activity:low
4/22    ok, so maybe a dumb question, but a coworker just asked me and I'm
        not sure the answer: so is it possible to view the standard
        output of a process running on your system? I do have root. thx
        \_ truss/strace, with the option to print the entire syscalls
           \_ ok, let me rephrase: there is a process running on my system.
              I did not start it. I am root. I have just the process id
              (from ps) ... is there some way I can see std out/err? thx
              \_ you can't see what has -already- gone out to stdout/stderr
                 if you look at the write() calls for stdout/stderr (by fd)
                 you can see what it is putting out -now-.  truss -p pid
        \_ try /proc/<pid>/fd   \
                 \_______________\_  this was all helpful. thanks.
2025/04/04 [General] UID:1000 Activity:popular
4/4     

You may also be interested in these entries...
2012/3/9-26 [Recreation/Activities] UID:54336 Activity:nil
3/9     Any other alums running / walking the 5K at Cal on 4/15?
        http://preview.tinyurl.com/7yptcjl [alumni.berkeley.edu]
	...