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

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to