Displaying 20 results from an estimated 6000 matches similar to: "sh DTrace provider available"
2006 May 12
10
why dtrace is not quiet?
i''m running the following script:
#pragma D option quiet
profile:::tick-1sec
/ ++x >= 15 /
{
exit(0);
}
io:::start {
@io_size[execname] = sum(args[0]->b_bcount);
}
on exit, the script prints out the value of @io_size, why?
there''s no printa(), and i also specified "D option quiet" (i also tried -q).
this seems to happen with any kind of probe: on exit(0) all
2006 Apr 21
8
listing available provider names
Is there a trick to listing available providers? I can''t find it.
2005 Sep 16
5
ddi_pathname
Hello,
I can see that there is an implementation/emulation of ddi_pathname in DTrace, but I''m a bit confused about the capabilities and invocation of this function. I would like to diplay the path to the block device from bdev_strategy and other io:genunix::start probes.
If someone is familiar with ddi_pathname, could you please provide an example invocation?
Thanks,
Michael
This
2005 Dec 22
9
truncating aggregation output only
Hello dtrace-discuss,
Sometimes I want to run a script for some time and every n second
output N top entries. trunc() isn''t suitable here as it also removed
keys/values. I want it ''coz over time if I use sum() entries which
are normally truncated can actually get to top over a time.
Maybe printa() extension, something like: printa(@b[10]) - to output
top 10?
--
2007 Dec 22
3
Erlang DTrace Provider
DTrace folks,
I''m pleased to introduce a potential new DTrace-sponsored project: the
Erlang DTrace provider. To be good OpenSolaris citizens, we want to put
the formation of this officially sponsored project to a vote -- as outlined
in the OpenSolaris Constitution -- so here are the details for the new
Project, as prepared by the Project Team:
Name : Erlang DTrace Integration
2005 Nov 18
6
expected system load from DTrace scripts/probes
Does anyone out there have any thoughts on the type of load common
DTrace scripts would cause on a system if run 24x7? I know "common
DTrace scripts" and their underlining probe calls a vague statement. So
for the lack of a common and establish set of scripts in the OS, I''ll
use the most popular right for my question...the DTraceToolkit from
Brendan Gregg. Which by the
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!).
2007 Dec 20
6
DTrace IP provider, step 1
G''Day All,
I''m putting together a PSARC case to begin integration of the DTrace network
providers. I''ve drawn up a rough plan which splits this project into over a
dozen smaller steps, as documented on the network provider page:
http://www.opensolaris.org/os/community/dtrace/NetworkProvider#Plan
Below is a draft PSARC document for task 1, IP provider send/receive
2008 Feb 28
1
DTrace Toolkit tcpsnoop
I sent this to Brendan but never got a response. Maybe someone else
can help?
-----
Hi Brendan. I''m trying to debug a problem where I need to snoop the
network traffic over a punchin connection, where snoop doesn''t work.
I found your tcpsnoop dtrace tool, which seemed like it might be able
to do what I need. Unfortunately, it doesn''t seem to have an option
to dump
2005 Nov 29
2
Dtrace - Macros $1, $2, etc...
Unless I am missing something I cannot find a way to do a condtional check and handle it when a dtrace script is written with macros $1, $2 being passed to it, etc...
In other words I have a dtrace script that can have parameters passed to it. Lets say $1 and $2 for example. I am trying to verity that there is or is not a value for $1 or $2 and adjust accordingly.
I am finding that if use macros
2007 Oct 17
3
Dtrace scripts for performance data gathering
I am looking for Dtrace scripts that can be used to
collect data during performance tests. I am especially
interested in IO but CPU, memory, threads, etc are needed
as well.
Thanks,
Dave
2006 Jul 20
2
How can I watch IO operations with dtrace on zfs?
I have been using iosoop script (see http://www.opensolaris.org/os/community/dtrace/scripts/) written by Brendan Gregg to look at the IO operations of my application. When I was running my test-program on a UFS filesystem I could see both read and write operations like:
UID PID D BLOCK SIZE COMM PATHNAME
203803 4436 R 6016592 16384 diskio <none>
203803 4436 W 3448432
2006 Nov 15
2
problem with dtrace toolkit
I tried some of the scripts in the toolkit (opensnoop, execsnoop, dtruss), and I keep seeing errors like this:
dtrace: error on enabled probe ID 3 (ID 113: syscall::exece:return): invalid kernel access in action #5 at DIF offset 0
Anyone know what could be the problem?
TIA
This message posted from opensolaris.org
2007 Sep 05
2
invalid probe specifier nge::entry: "/usr/lib/dtrace/procfs.d"
I recently did a backport of a couple of networking bug fixes from s10x_u4_b6 to s10x_u3_b10. I patched just /platform/i86pc/kernel/unix and /platform/i86pc/kernel/amd64/unix in my existing u3 OS image and I''m seeing this dtrace problem when running any dtrace script:
NODE hcb101 ~ $ ./tcpstat.sh
dtrace: failed to compile script /dev/fd/10: "/usr/lib/dtrace/procfs.d", line
2007 Jan 10
13
[DTrace] how to get socket read size
Hi
i''m trying to write my first dtrace script apparently i bit off a bit
more than i can chew, i want to track io over sockets, i found your
socketsize.d that gave me how to track writes, but i''m at a loss how
to track reads, frankly i don''t see how your write tracker works
because it uses a probe in a function that only takes two arguments
but you grab size of write
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:
2007 Mar 14
3
I/O bottleneck Root cause identification w Dtrace ?? (controller or IO bus)
Dtrace and Performance Teams,
I have the following IO Performance Specific Questions (and I''m already
savy with the lockstat and pre-dtrace
utilities for performance analysis.. but in need of details regarding
specifying IO bottlenecks @ the controller or IO bus..) :
**Q.A*> Determining IO Saturation bottlenecks ( */.. beyond service
times and kernel contention.. )/
I''m
2006 Apr 05
23
DTrace as a security tool / http://systrace.org
I''d like to see if we can use DTrace to as the kernel implementation of
the BSD systrace security policy system (http://www.systrace.org). I
don''t really want to port systrace to Solaris because I think with
DTrace we already have all the necessary in kernel hooks to do this.
With systrace you express things like: "httpd can bind to port 80 but
not any other port, it
2006 Apr 07
1
dtrace: invalid probe specifier
Hello,
I''m a newby to dtrace and have just installed the dtrace toolkit v0.92 on
a core soalris 10 1/06 installation on SUN v40z.
I have tried the following commands:
iotop
iosnoop
but I get the message
dtrace: invalid probe specifier
and a lot of code. At the end it says:
: in action list: failed to resolve uid: Unknown variable name
Could it be, that there are some
2005 Nov 05
3
Signal id and signal sender pid using dtrace
Hi
I have a process which reads a socket using recvfrom. After sometime, for no apparent reason, recvfrom exits with an EINTR causing the sender to barf too. Basically the socket on which these processes were communicating no longer exists. On writing a dtrace, I could determine that a signal was received at that socket causing the EINTR. I do not know of way to see who sent the signal (which