Displaying 20 results from an estimated 6000 matches similar to: "Mozilla Dtrace and Tabs?"
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
2008 Aug 13
1
tracing blocks behind I/O
Hi,
I know how to trace the number of bytes read/written by a program by summing the argument of that read/write syscall. However, the way the OS services read/write calls is in blocks. I wonder if it''s possible to trace the actual number of blocks read/written caused by the syscalls?
--
This message posted from opensolaris.org
2009 Jul 24
9
getting extra characters with printf(copyin(a, b))
Hi,
I have a situation where a DTrace script is printing out extra characters, despite the copyin() call giving a specific length. Can anyone think of why this might be? It''s fine the first time all of the probes fire, but on a second run of my generating operations, I get junk in there. For example:
set setop length 5, FOUND KEY, STORED
set setop length 5, FOUND KEY, STORED
get
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
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 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
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:
>
2008 Nov 07
6
Dtrace command
Hi All,
Can I get Dtrace command, which is useful for regular system administration like performance issue.
Advance Thanks
Muthu
--
This message posted from opensolaris.org
2007 Nov 27
4
DTrace unconference?
All,
With Jon Haslam''s exciting news about the DTrace doc wiki (if you haven''t
seen it yet, make your way to http://wikis.sun.com/display/DTrace), and with
some of the discussion with the Apple folks, I''m wondering if the time
isn''t right for something of a DTrace summit, perhaps as an unconference.
The idea here would not be a DTrace user group (though that
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
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
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
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 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
2005 Sep 08
3
DTrace typewriter
G''Day Folks,
I''ve found another use of dtrace, this makes your console keyboard
sound like a typewriter.
http://www.brendangregg.com/DTrace/typewriter-0.70.tar.gz
I''ve only tested it on an UltraSPARC 5 and a Pentium laptop so far, more
to follow.
Ok, sorry, not actually a practical use of DTrace. :)
Enjoy!
Brendan
[Sydney, Australia]
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
2006 Sep 12
3
dtrace reports different counts depending on what is being traced
We are using following dtrace script to analyze an application. However
we see different number of lwp_yield and yield calls reported depending
on whether we trace mutex_lock or mutex_unlock or not. The number
reported when we are not tracing mutex_lock or mutex_unlock is higher.
What could be going on here and which one is the correct number. This is
on S10 U2.
Thanks,
Rao.
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
2006 Mar 22
3
boot-time dtrace
Hi,
I am using anon dtrace followed with normal dtrace to collect the data
of all fork,exec,exit .
I found that dtrace could not be able to collect all the data. Lot of
pids are missing.
This happence when we boot the system and expect dtrace to collect all
the fork , exec & exit it collects data but not all the pids are collected.
Any inputs in this regard will be of great help.
thanks
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: