Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using a program called get_iplayer, and during it's run, it calls other programs such as RMTPdump, flvstreamer and ffmpeg.

What I would like to find out is what information it is passing to these program. I can see on terminal that they have been called and they are working, but I can't see what they've been given.

share|improve this question
up vote 1 down vote accepted

On Linux, use strace to log the execve() syscall.

strace -f -e execve -o iplayer-trace.log get_iplayer ...

On Windows, use Process Monitor – enable just the "Processes" category. (Needs Administrator privileges.)

On BSDs...edits would be welcome. It seems that dtrace is the usual way, at least in some of them:

dtrace -n 'proc:::exec-success { printf("%d %s", pid,curpsinfo->pr_psargs); }'
share|improve this answer
Did the trick! Thank you very much :) – Geesh_SO Nov 23 '12 at 19:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.