Displaying 20 results from an estimated 8000 matches similar to: "Dtrace not working for processes running after a couple of hours"
2006 Jul 10
5
Definition of "anchored" and "unanchored" probes
Referring to the DTrace manual:
"Module If this probe corresponds to a specific program location,
the name of the module in which the probe is located. This name is
either the name of a kernel module or the name of a user library.
Function If this probe corresponds to a specific program location,
the name of the program function in which the probe is located."
and then ...
2009 Mar 25
3
anonymous dtrace?
Hello experts,
I heard that there is something called anonymous dtrace that would still
be running when I do a reboot.
Basically, I have the following problem:
The /boot/solaris/bootenv.rc file in my alternate boot environment is
getting modified when I reboot the machine after doing luactivate <ABE>.
It happens only on init 6, doesn''t happen when I do a simple reboot.
The set
2001 Sep 18
1
Printer fiasco...
OK,
First, thanks for all of the help recently. I appreciate it.
But...I have just implemented the cvs code as to be able to use the 'use
client driver' option because win nt/2k machines have been seeing an 'Access
denied, unable to connect' error for the print queues and this will
apparently fix this. I will describe my setup and what I have done thus far:
RH 7.1
Samba 2_2 cvs
2007 Aug 21
4
Core analysis !
Can i use dtrace to anlayze my core files ?
--
This message posted from opensolaris.org
2008 Oct 30
7
Is there any way to check if DTrace is running or a DTrace probe is enabled?
Hi,
I am adding DTrace probes within NFS v3 client. In my current
implementation, I use some tsd_*() functions and kmem_zalloc() function.
These functions might be heavy and affect the performance. I want to
call this function only when DTrace is running or the DTrace probes are
enable. So is there a way to check DTrace is running or DTrace probe is
enabled?
Regards,
Danhua
2005 Oct 11
7
dtrace: failed to initialize dtrace: DTrace device not available on system
I have a number of systems running solaris10 and i see the package and binary for dtrace installed however whenever we try to run anything we get this error
dtrace: failed to initialize dtrace: DTrace device not available on system
the only system in which i dont have this error is the development server that has the full solaris 10 install while others are minimized, do i need additional
2007 Apr 13
2
How to dtrace which process is writting a veritas volume?
Hi all,
How to dtrace a who is writing a veritas volume?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20070412/dfd8c254/attachment.html>
2008 Aug 19
3
variables in dtrace scripts
Greetings,
is there a way to specify probes and other dtrace operations via command
line parameters, like
"
BEGIN
{
usr_exec=$$1;
usr_syscall=$$2;
}
syscall::usr_syscall:entry
/execname == usr_exec && guard++ == 0/
{
...
"
[this does not work]
This would make it possible to create "generic" dtrace scripts.
Otherwise, some shellscript with sed-magic would
2006 May 24
2
Reading external files with dtrace
I''d like to be able to dynamically read external configuration files within a dtrace script. I know dtrace allows inclusion of C header files but only at the preprocessing stage.
What we need to do is dynamically enable/disable probes based on current application settings. I''d rather not have a bunch of independant scripts running and being started and killed whenever the
2005 Aug 22
3
dtrace''ing at module unload time
Hi,
I am trying to trace some functions that are executed at detach time, and it seems that just
having dtrace around to instrument the module is causing a short circuit, whereas modunload will
return (device busy). I understand that this makes sense, but how can I get around this if I
want to trace stuff at detach time?
Thanks,
--S
2005 Sep 28
4
A document about implementing dtrace probes in SAX
Hi,
I have mentioned before that we have added some sdt dtrace probes in SAX,
our APL interpreter. Encouraged by Angelo and Jignesh, I have created a
small document (5 pages) describing our experience with it, together with
some problems we have encountered and some scripts we use for
pretty-printing dtrace outputs.
The said document can be found at
2007 Sep 01
1
Hekp dtrace -l is bleeding Unstable implementation details all over my USDT probe namespace :(
Hi,
As I''ve discussed before whenever we add USDT probes to a C++ function
and call dtrace -l we get the mangled C++ name for the dtrace function,
being listed :(
Now the point of USDT probes is to abstract a higher level semantic
construct for users to make use of. Surely it is not meant to be listing
Unstable Interfaces (implementation details), such as the containing C++
2010 Feb 20
5
Dtrace starts very slowly on T5440
Hi all,
We just got a shiny new T5440, and one of the first things I noticed
(besides the insane number of hardware contexts), is that dtrace takes
30 seconds to a minute to fire up scripts with 5-6 probes, where our
T5220 usually takes under a second. Shutdown is similar, though slightly
faster.
This is mostly annoying because it takes so long to attach that it''s
hard to tell when
2008 Feb 26
4
Why dtrace doesn''t work on some workstation?
Dtrace does work on some workstation, such as as follows,
-----------------------------------------------------------
bash-3.00# dtrace -s ./mem.d `pgrep test`
dtrace: script ''./mem.d'' matched 5 probes
^C
bash-3.00# uname -a
SunOS ftp 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Blade-100
bash-3.00# dtrace -V
dtrace: Sun D 1.1
2008 Apr 14
9
Mozilla Dtrace and Tabs?
I use a lot of tabs and Firefox runs very slowly. I would like to figure out which tabs are eating up resources (cpu, memory, etc).
Will the Mozilla dtrace framework be any help with this?
--
This message posted from opensolaris.org
2008 Jun 07
2
Apple fixes DTrace
I''m pleased to pass along news that the Mac OS X DTrace port has been
updated
in 10.5.3 to fix the issue that caused timer based probes not to fire
in the
presence of certain untraceable applications.
http://blogs.sun.com/ahl/entry/apple_updates_dtrace
A big thank you to the folks at Apple for addressing the problem.
Adam
--
Adam Leventhal, Fishworks
2006 Dec 07
2
System hangs when invoking DTrace script
Howdy,
I installed Nevada build 49 in a parallels VM on my intel mac mini,
and when I run the following DTrace script:
$ cat follow.d
#pragma option D flowindent;
pid$target:::entry,
pid$target:::return
{}
$ cat format.cmds
disk
0
exit
$ dtrace -s follow.d -o follow.out -c "/usr/sbin/format -f format.cmds"
dtrace: script ''follow.d'' matched 13641 probes
The system
2006 Sep 21
1
Dtrace script compilation error.
Hi All,
One of the customer is seeing the following error messages.
He is using a S10U1 system with all latest patches.
Dtrace script is attached.
I am not seeing these error messages on S10U2 system.
What could be the problem?
Thanks,
Gangadhar.
------------------------------------------------------------------------
rroberto at njengsunu60-2:~$ dtrace -AFs /lib/svc/share/kcfd.d
dtrace:
2008 Oct 01
11
RFE: if/else control flow in probes
Hi all,
There''s a dead thread about this back at http://forums.sun.com/thread.jspa?threadID=5075157, but it would be really nice to have support for if/else control flow in actions.
Reasons:
1. The ternary operator ?: is already there (though it doesn''t let you do anything with side effects)
2. The user can already write arbitrary and expensive non-cacheable predicates if
2006 Sep 06
3
Dtrace Snooping
Dear dtrace Experts,
I have seen some dtrace utilities like opensnoop and execsnoop etc.
My interest is to write a simple script that can snoop the files which
uses the 3 syscalls like open,create,unlink.
I have gone through dtrace oneliners that can do the same :
dtrace -n ''syscall::open*:entry { printf("%s %s",execname,copyinstr(arg0));}''
dtrace -n