If use truss on an oracle process. we could see something like the
following, so semtimedop should be a syscall
22459/1: semtimedop(9, 0xFD7FFFDFE648, 1, 0xFD7FFFDFE488) EAGAIN
22459/1: semnum=15semop=-1semflg=0
22459/1: timeout: 2.06000 sec
but the
Hi everyone,
For all oracle processes, the execname are oracle, but if use ps -ef we
could see processes like smon, pmon. How can I get the value show in ps
-ef(sid_smon, sid_pmon, etc)
Thanks,
Daniel
___
dtrace-discuss mailing list
AKA, what's wrong with the following? Isn't a string literal always a constant?
$ cat cfretain_calayer.d
pid$target::CFRetain:entry
{
isaptr = *(uint32_t*)copyin(arg0, 4);
classnameptr = *(uint32_t*)copyin(isaptr+8, 4);
classname = copyinstr(classnameptr);
p = (classname ==
Hey Hamish,
AKA, what's wrong with the following? Isn't a string literal always
a constant?
$ cat cfretain_calayer.d
pid$target::CFRetain:entry
{
isaptr = *(uint32_t*)copyin(arg0, 4);
classnameptr = *(uint32_t*)copyin(isaptr+8, 4);
classname = copyinstr(classnameptr);
p =
Brilliant, thank you!
--
This message posted from opensolaris.org
___
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org
I should probably have mentioned that I only introduced the extra variable p
as a result of getting exactly the same error with the more direct approach:
printf(classname == CALayer ? CFRetain(CALayer)\n : );
Anyway, thanks again to Adam for providing a clear solution!
--
This message posted
On Fri, Aug 07, 2009 at 08:38:56AM -0700, Manfred M?cke wrote:
Hello,
I have a fortran program and want to monitor entry/return events of a
specific function. No big thing (I thought). The function is called DCNTRL in
the source code. Checking the binary gives:
nm myprog | grep FUNC |