strace is a command that traces system calls and signals. An example of its output:
strace
poll([{fd=11, events=POLLIN}, {fd=12, events=POLLIN}, {fd=30, eve