Hi,
Is there anyway for dtrace to report me the actual user name instead of a uid.

For example If I have the following code somewhere in in my script, I know that 
I am getting uid with printf function

syscall::open:return,syscall::open64:return
{
        .............
        printf("%d,%s,... ",uid, ......);

}

Is there any way to get the username corresponding to that uid? I know that I 
can look at /etc/password and get the username but is there anything I can do 
directly from Dtrace?
Thank you.


--
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to