$ stap -v strace.stp -c /path/to/command
The stap script is :
#! /usr/bin/env stap
probe syscall.* {
if (pid() == target())
printf(“%s %s\n”, name, argstr);
}
View this command to comment, vote or add to favourites
View all commands by gerard

by David Winterbottom (codeinthehole.com)






















0 Comments
You can be the first one to leave a comment.