Displaying 20 results from an estimated 30000 matches similar to: "Load Tests Monitoring in Zones with DTrace?"
2007 Jan 31
1
[patch?] dtrace privs in zones ?
Hello,
According to
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4970596 and
other notes I read
it appears that the ability to run dtrace programs (by having
dtrace_proc and dtrace_user privileges configured inside NGZ''s)
has been made available (through various projects) since build 37 of
Nevada. I am not merely referring to configurable privileges alone, but
to
2011 Dec 23
0
dtrace-discuss Digest, Vol 80, Issue 6
Have you considered the mdb dcmd ::pfiles?
mfe at inker:~/Code/dtrace/examples$ *pfexec mdb -k*
Loading modules: [ unix genunix specfs dtrace mac cpu.generic uppc pcplusmp
scsi_vhci zfs ip hook neti sockfs arp usba uhci fctl s1394 stmf stmf_sbd md
lofs random idm sd crypto fcp cpc fcip smbsrv nfs ufs logindmux ptm nsmb
sppp nsctl sdbc rdc sv ii ipc ]
> *::ps ! grep clock-applet*
R 1744
2011 Jan 05
0
dtrace-discuss Digest, Vol 69, Issue 2
Hello Srikant -
A quantization distributes the results of your aggregation into ranges
ordered by a power-of-two. Presumably what you''d do in your script is
capture the inclusive elapsed time of each function call in your library,
then use this quantization to see how tightly-banded the times are. Perhaps
there''s some blocking I/O in some of your calls, for example, in which
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
2009 Apr 29
0
COMSTAR iscsi DTrace Probes -
The earlier post with the Dtrace probes definition (sent on April 23) was only to solicit feedback from all prospective users of iSCSI DTrace probes. I will follow up shortly with an updated document requesting approval from the community.
thanks
Priya
-------- Original Message --------
Subject: Dtrace provider for the COMSTAR iscsi Target Port Provider -
Review Request
Date: Thu, 23 Apr
2007 Nov 21
0
Using DTrace to analyse ON build
This is from a discussion on opensolaris-tools that is somewhat relevant for
DTrace community.
I wrote a simple D script
(http://www.opensolaris.org/os/project/onnv/onnv_build/faster_builds/tools/dtrace/dirtrace.d)
that collects data for each dmake process during the Solaris build. After that
the data is post-processed by a Perl script
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
2007 Jan 10
2
[DTrace] using C preprocessor in dtrace scripts
Hi Max/DTrace list,
> At any rate, without the -C, I can''t use #include <sys/stream.h>.
> Without the #include <sys/stream.h>, I can''t use the M_DATA.
> As it is, I get the following:
>
> # ./strrput.d 0xd595a6c0 <-- this is a vnode for a socket
> ftp is using (not important here)
> dtrace: failed to compile script ./strrput.d: line 7:
>
2011 Jan 05
0
Understand the dtrace quantize output
Hi,
I am kind of new to DTrace , I have written a script to time function calls
in our application library ,
Wanted to know how to interpret the output from quantize of the elapsed time
in each function call , here is a sample
Here is the entry and return function for the library that is being traced
pid$1:libswduar::entry
{
duarEntry[probefunc] = timestamp;
2008 Sep 30
3
getting newest version of dtrace
> Your best bet to getting a supported (and *working*)
> configuration with updated dtrace would be to upgrade
> the OS. Solaris 10 update 5 is latest I reckon and
> update 6 would be out real soon now.
Full Ack. It''s quite difficult, though, to predict what DTrace features one will get when installing Solaris 10 (whatever release). There is nothing about the fine details of
2008 Apr 20
1
dtrace script to monitor file access
A user has asked us to find out who is changing one of their files and how it is being changed. I came up
with the script below:
#!/usr/sbin/dtrace -s
#pragma D option quiet
BEGIN
{
printf("\n Timestamp gid uid pid ppid execname function current directory file name\n\n");
}
syscall::open:entry,
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
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:
2007 Mar 26
0
New OpenSolaris Project: Mozilla DTrace
Hi folks - well we are officially live at:
http://opensolaris.org/os/project/mozilla-dtrace/
Drop on by if you feel like trying out some mozilla dtrace probes. It''s
early days, but we have working prototypes of layout and javascript
probes. Hopefully these and other probes will be able to add value to
both mozilla and opensolaris.
Note: as we are working against mozilla head and are
2007 Jan 10
0
[DTrace] new iosnoop
G''Day Folks,
I''ve just rewritten iosnoop so that uses command line arguments (I caved
in and used a little Bourne shell for this - hence it''s lost it''s ".d"
extension). It''s much more useful now.
# iosnoop -h
USAGE: iosnoop [-a|-A|-Degstv] [-d device] [-f filename]
[-m mount_point]
iosnoop # default output
2007 Jan 10
0
[DTrace] socketsnoop.d - TCP by PID
G''Day Folks,
Well, I had a weekend home in Sydney while inbetween flights and have
knocked out a few programs. (I''ve been programming for 23 hours straight,
so if there is something really dumb in one my scripts then please excuse
me :)
# socketsnoop.d
UID PID DIR SIZE CMD
0 19886 W 64 ssh mars
0 19886 R 80 ssh mars
0 19915 W 0
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
2007 Jan 10
0
[DTrace] %CPU, %Mem, %Disk and %Net by PID
G''Day Folks,
Well, this one was my white whale. I now have a demonstration program
that uses Perl, Kstat, /proc/*/usage, /proc/*/psinfo, and DTrace.
The program itself is more of a prototype, I want to get serious about it
and rewrite it in C. It currently has output like,
# prustat -t5 -snet 10
PID %CPU %Mem %Disk %Net COMM
90 0.00 0.09 0.00 0.00
2007 Jan 10
0
[DTrace] Loose ends
G''Day Folks,
I''ve rewritten execsnoop, opensnoop and shellsnoop so that they are
wrapped in the Bourne shell to provide command line options (they have
all lost their ".d" extensions, but the old versions are still online).
They are rather more meaningful tools now.
(Eg, I can run shellsnoop with "-qp PID" with the PID of a shell, and see
only the characters
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