DTrace Issues
Anton Yuzhaninov
citrin at citrin.ru
Tue Nov 1 14:00:11 UTC 2011
On Thu, 27 Oct 2011 18:32:19, Shawn Webb wrote:
SW> #!/usr/sbin/dtrace -s
SW>
SW> #pragma D option quiet
SW>
SW> proc:::exec-success
SW> /uid == $1/
SW> {
SW> printf("%d:%d:%s:", walltimestamp, uid, execname);
SW> trace(curpsinfo->pr_psargs);
SW> printf("\n");
SW> }
Dtrace port to FreeBSD is not complete
AFAIK:
- walltimestamp is not implimented at all
- curpsinfo->pr_psargs show only argv[0] (command name)
--
Anton Yuzhaninov
More information about the freebsd-stable
mailing list