$ 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

commandlinefu.com

by David Winterbottom (codeinthehole.com)



Tags: