[dtrace-discuss] resolved: file offset monitoring weirdness

2009-01-30 Thread Glenn Skinner
Yesterday I sent out a plea that started: As part of tracking down an elusive problem, I wrote a DTrace script to monitor writes to stdout, which in my case is redirected to a file, so that file offsets are meaningful. ... and went on from there to describe how my DTrace script report

Re: [dtrace-discuss] How to find from privileges sets to privilegesnames

2009-01-30 Thread Ralf Weber
Moin! On 30.01.2009, at 17:15, Chip Bennett wrote: > The header file is in /usr/include/sys on your Solaris 10 system. Ouch PEBKAC, sorry for that - the machine didn't have SUNWhea installed, that's why my find didn't succeed. Thanks for the hint I installed the package now and will dig furthe

Re: [dtrace-discuss] How to find from privileges sets to privilegesnames

2009-01-30 Thread Chip Bennett
Ralf, The header file is in /usr/include/sys on your Solaris 10 system. Chip > -Original Message- > From: dtrace-discuss-boun...@opensolaris.org [mailto:dtrace-discuss- > boun...@opensolaris.org] On Behalf Of Ralf Weber > Sent: Friday, January 30, 2009 9:28 AM > To: dtrace-discuss@openso

[dtrace-discuss] How to find from privileges sets to privileges names

2009-01-30 Thread Ralf Weber
Moin! I am trying to debug a problem with privileges inside zones and therefore have created the following small d script: #!/usr/sbin/dtrace -s syscall::privsys:entry /arg2 == 2 && arg1 == 2/ { pa = (priv_set_t *)copyin (arg3, arg4); printf ("%x%x%x\n", pa->pbits[0], pa->pbi

Re: [dtrace-discuss] passwd [LDAP] cache

2009-01-30 Thread Milan Jurik
Sylvain, > I have tried the nscd.d script, but it doesn't work with Solaris 10, it seem > to work only with opensolaris. Do you know how i can do ? > When i execute it,i have : > dtrace: failed to compile script ./nscd.d: line 77: probe description > pid25726::switcher:entry does not match any

Re: [dtrace-discuss] passwd [LDAP] cache

2009-01-30 Thread Sylvain D.
I have tried the nscd.d script, but it doesn't work with Solaris 10, it seem to work only with opensolaris. Do you know how i can do ? When i execute it,i have : dtrace: failed to compile script ./nscd.d: line 77: probe description pid25726::switcher:entry does not match any probes where 25726

Re: [dtrace-discuss] passwd [LDAP] cache

2009-01-30 Thread Sylvain D.
I found a major problem with my LDAP use : netgroup don't use nscd cache ! So each time i make a request for an account, it doesn't use cache but make a search in the directory ! -- This message posted from opensolaris.org ___ dtrace-discuss mailing li