Re: DTrace Issues

2011-11-01 Thread Anton Yuzhaninov
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

Re: DTrace Issues

2011-11-01 Thread Shawn Webb
Thanks. That's what I'm running into. I've partially fixed walltimestamp. I have walltimestamp in kernel returning to dtrace userland the seconds since epoch. With my patch, dtrace userland shows the value fine if printed with %d, but not with %Y. I'll be moving onto squashing the curpsinfo bug

DTrace Issues

2011-10-27 Thread Shawn Webb
Hey FreeBSD Stable, I'm having issues printing out the curpsinfo-pr_psargs. Has anyone had any success printing out the arguments passed to a program? Below is the log of what happens when I run my script the source for my script. [root@fbsd-sec ~/dtrace/security]# ./log_exec.d 80 dtrace: buffer