extrace

Monitor all processes:

1extrace

Monitor one process:

1extrace ls

Monitor a script:

1./script.sh | extrace