testsuite/parseko/cmdline16.stp
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | # options '-c cmd' and '-x pid' are mutually exclusive |
| 4 | # |
| 5 | # -c cmd Command 'cmd' will be run and staprun will |
| 6 | # exit when it does. The '_stp_target' variable |
| 7 | # will contain the pid for the command. |
| 8 | # -x pid Sets the '_stp_target' variable to pid. |
| 9 | staprun -c /bin/ls -x 100 fake_module |