Modifying standard DTT scripts to use -c instead of $1
1
vote
1
answer
75
views
There are lots of great dtrace programs out there and some of them require a PID to be passed to them, in order for them to trace that PID. Inside the dtrace scripts that argument is stored in $1. Is it possible to just simply replace $1 with $target and -c on the cmdline, and rest of the script logic remains the same?
Is it just as simple as I think it should be?
Asked by Junaid Shahid
(79 rep)
Nov 22, 2017, 02:44 AM
Last activity: Sep 5, 2018, 06:01 PM
Last activity: Sep 5, 2018, 06:01 PM