Displaying 20 results from an estimated 4000 matches similar to: "Dtrace command"
2006 Dec 14
23
Using DTrace to monitor productions systems
Hi,
we are developing and operating an very critical application in the financial sector. Now our customer wants us to report performance data (roundtrip times of the messages routed).
My idea is using dtrace to measure the times with the pid provider catching the timestamps on entry of the in and out functions of the processes.
Now my questions ;-):
1) Is this an appropriate method to monitor
2009 Sep 09
3
Dtrace and java 1.5
Hi,
I have used dtrace in the past for diagnosing IO/filesystem related issues.
So I am a bit familiar with dtrace scripts
Now I want to diagnose performance problems in the java area.
May be memory leak etc.
The hotspot provider is not present.
How can I get them?
Does someone have any further advice?
regards Hans
--
This message posted from opensolaris.org
2005 Sep 11
8
DTrace vs truss
G''Day Folks,
I''ve finally typed up my classic DTrace demo, which I use to introduce
people to DTrace (I delivered this at SOSUG#1),
http://www.brendangregg.com/DTrace/dtracevstruss.html
Here I create a fault and show the difficulty in analysing it using
previous tools. Then I compare the impact of analysing the problem
using both DTrace and truss. DTrace wins (a lot!).
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
2008 Sep 30
12
dtrace missing ''unlinkat''? showing process stack?
everyone,
Just out of curiosity, I did a
dtrace -n ''syscall:::entry { @num[execname, probefunc] = count(); }''
and looked at the entries produced by ''rm''.
I see everything that rm did, *except* the unlinkat - which is unfortunate because I want to trace which processes have deleted which files.
So - does dtrace contain unlinkat as a probe for a system call?
2009 Apr 29
2
DTrace provider proposal: fibre channel (fc) COMSTAR port provider probes
I have added a specification of probes for the fibre channel COMSTAR
port provider to the DTrace section of wikis.sun.com. The proposal may
be found here: http://wikis.sun.com/display/DTrace/fibre+channel+Provider
I welcome feedback regarding this proposal.
Thanks,
Sam
2010 Mar 22
1
TCP and UDP DTrace provider specifications for review
hi folks
we''re in final approach with Brendan''s work on
the TCP and UDP providers, which have been
discussed here previously in the context of the
overall networking provider plan at:
http://hub.opensolaris.org/bin/view/Community+Group+dtrace/NetworkProvider
The specs have been updated to reflect recent
changes and are available for review here:
2008 Jun 10
7
[Trivia question] What engine is it on DTrace T-shirt ?
Hi,
This is not a DTrace technical question (so, please don''t flame me for
it) :)
This is regarding the DTrace (un)conference TShirt.
I am curious to know what engine is it. Could not figure it out.
Thanks and regards,
Sanjeev.
--
Solaris Revenue Products Engineering,
India Engineering Center,
Sun Microsystems India Pvt Ltd.
Tel: x27521 +91 80 669 27521
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
2008 Jun 09
6
Dtrace on OpenSolaris/VirtualBox
I''m running OpenSolaris 2008.05 in VirtualBox on a Windows XP host. Playing around with various probes, I found that trying to load any probe associated with bdev_strategy dumps core.
I can think of one or two likely and reasonable causes for this, but am assuming it''s undesirable behavior.
Anyone know what''s happening here?
--
This message posted from
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 27
6
User Privileges and Dtrace
Dear Experts,
My customer is migrating to Solaris 10 from Solaris 8 and have asked me to determine if: With Dtrace, is the user limited to probing only processes they own?
The customer has a general security requirement to control user access via management of privileges. Currently, on Solaris 8, LDAP is strongly while RBAC is weakly applied. This will likely change in the Solaris 10 production
2008 Apr 01
10
Request for code review: the brendan() action
This came up as an RFE during the conference (I believe it''s been logged
as "4012008: brendan() action needed for DTrace Toolkit".)
As everyone here is aware, DTrace is not quite as user friendly as it
could be. For the uninitiated, it can be confusing to run a DTrace
script and not see the expected output. Brendan Gregg has addressed
this in the DTrace Toolkit[1] by
2008 May 16
2
how can we use libdtrace within the DTrace security restrictions?
Hi all,
What is the correct way to give one non-root user the ability to use
DTrace with providers running in a process by another user?
Through the Web Stack project and some work by Ludovic Champenois and
Nasser Nouri, we have done a bit of work to bring together parts of
chime, the Web Stack Apache, Ruby and PHP providers, and stuff reused
from the DTrace toolkit. It''s in
2010 Mar 30
7
Analyzing java class loading with dtrace
Hi there,
I am trying to diagnose a performance problem on a Sun T5120 running
Solaris 10. I see general poor performance using Java and, in
particular, loading classes. I have developed a simple java test that
loads all of the classes in a Crystal Reports JAR file (around 7000
classes) which takes much longer on the T5120 (40 secs) than on a Core
2 Duo windows PC (5 secs). I recognise that this
2008 Feb 26
11
Is there way to trace memory in the dtrace ?
N_conreq:entry {
self->x=1;
calledaddr=(struct xaddrf *)arg3;
callingaddr=(struct xaddrf *)arg4;
trace(calledaddr->link_id);
tracemem(calledaddr->DTE_MAC.lsap_add, 80);
trace(callingaddr->link_id);
tracemem(callingaddr->DTE_MAC.lsap_add, 80);
}
0 -> N_conreq 255
2006 Mar 13
2
opensolaris dtrace page has bad link to dtrace documentation
The open solaris dtrace page (http://www.opensolaris.org/os/community/dtrace/) has a bad link to the DTrace Guide(http://docs.sun.com/db/doc/817-6223).
This message posted from opensolaris.org
2005 Nov 22
6
DTrace #include problems
Howdy,
I am trying to migrate several scripts to use application defined types,
and am running into a few issues. When I attempt to run a script with a
application defined type, it looks like the DTrace preprocessor is getting
angry with me:
$ cat view.d
#include "httpd.h"
:::acceptconnection
{
this->addr = (conn_rec *)copyin(arg0,sizeof(conn_rec *));
}
$ dtrace -C
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
2006 Jun 03
8
dtrace causing sigtrap?
Just to let people know what my big picture is, I''m trying to write a script
that will let me run a program, and name a progeny of that program
that I want to debug. My script should find the first occurrence
of that progeny, and run it until it finishes initializing the
runtime linker, but stop it before it runs any shared library startup
routines. (Failing that, I''d be okay