Displaying 20 results from an estimated 6000 matches similar to: "Memory fragmentation visualization with DTrace"
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
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,
2010 May 11
3
Broadening of ZFS open source license
In the article about MeeGo: http://lwn.net/SubscriberLink/387196/103bbafc9266fd0d/ it is stated, that Oracle (together with RedHat) contributes a bulk part of BTRFS development. Given that ZFS and BTRFS both share many similar goals, wouldn''t it be reasonable for Oracle to license ZFS under wider range of FOSS licenses (similar to how Mozilla released their code under triple license,
2008 Dec 01
0
more friendly "dtrace --actions" , "dtrace --aggregations", "dtrace --varib
To remember all dtrace actions, aggregations and variables is a headache, even worse, they are not include in dtrace(1M) now.
So here is a chance to have a CLI RFE -
to have something like "dtrace --actions", which will list all actions, like this page:
http://developers.sun.com/solaris/articles/dtrace_quickref/dtrace_functions.html
"dtrace --aggregations", lists all
2014 Sep 17
1
Dtrace of smbd shows some errors in FreeBSD 9.2 with Samba 4.1.11 possibly related to talloc
Opening folders containing 10K files totaling 20GB is slow (takes 1.5 - 2.0
minutes) in FreeBSD 9.2 with Samba 4.1.11 on a system with 32GB RAM and a
newer Xeon processor.
Server is a standalone server that I'm using for testing. I am using nfsv4
acls.
I used the procsystime dtrace script from here:
http://www.brendangregg.com/DTrace/procsystime with the following syntax:
procsystime -n smbd
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
2006 Oct 31
0
6256581 System got a hang or a panic with dtrace+kmdb
Author: bmc
Repository: /hg/zfs-crypto/gate
Revision: 213bfe03af413cdf71c523fb076aaa65a6306a7e
Log message:
6256581 System got a hang or a panic with dtrace+kmdb
6264573 unanchored dtrace_getpcstack is rather imprecise toward function end
6289517 dtrace doesn''t like fd_intr anymore
6291378 dtrace helpers can interfere with the use of kmdb
6295554 dtrace doesn''t report
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:
>
2007 Oct 29
2
autoconf test for building dtrace USDT probes?
X.Org has adopted GNU autoconf as its build configuration mechanism,
so when I integrated the dtrace probes, I checked to see if they
should be built using this test, checking for the existence of a
program named "dtrace" in the path:
dnl Check for dtrace program (needed to build Xserver dtrace probes)
AC_ARG_WITH(dtrace, AS_HELP_STRING([--with-dtrace=PATH],
[Enable dtrace
2012 Feb 08
0
new dtrace-discuss list, and dtrace.conf 2012
For those who may have missed the news, the DTrace movers and shakers have
moved over to a new mailing list; you can sign up at
http://dtrace.org/blogs/mailing-list/
And there will be a conference dedicated to DTrace on April 3rd in San
Francisco, more information here:
http://wiki.smartos.org/display/DOC/dtrace.conf
--
best regards,
Deirdr? Straughan
SmartOS Community Manager
Joyent
cell
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
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
2009 Oct 22
0
Fwd: dtrace problem
> > From: vikram b
> > Date: October 22, 2009 12:31:53 AM PDT
> > To: dtrace-discuss at opensolaris.org
> > Subject: [dtrace-discuss] dtrace problem
> >
> > Hi All,
> > I am running dtrace on linux !! got it working some how.
> > dtrace -l shows a big list.. but many issues
> >
> > 1. says : failed to grab process
> >
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 Oct 31
0
PSARC 2006/054 DTrace JNI Binding
Author: tomee
Repository: /hg/zfs-crypto/gate
Revision: 367993089b181886f94c88ffa5759d0626e95ad7
Log message:
PSARC 2006/054 DTrace JNI Binding
6384263 PSARC 2006/054 DTrace JNI Binding
Files:
create: usr/src/lib/libdtrace_jni/Makefile
create: usr/src/lib/libdtrace_jni/Makefile.com
create: usr/src/lib/libdtrace_jni/amd64/Makefile
create: usr/src/lib/libdtrace_jni/common/dtj_attr.c
create:
2012 Aug 07
0
coming soon! DTrace Training
(Apologies to anyone who follows me on Twitter and therefore will have seen
this multiple times already.)
Joyent will be offering training in DTrace: Core Features and Performance
Analysis
trainer: Brendan Gregg <http://dtrace.org/blogs/brendan/> (San Francisco,
Sept 6-7), Max Bruning
<http://wiki.smartos.org/display/DOC/Max+Bruning> (Geneva,
Sept 13-14)
This course introduces
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 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
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
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