Re: [dtrace-discuss] need dtrace script to monitor file writes

2011-02-07 Thread Michael Schuster
dtrace-discuss@opensolaris.org -- regards/mit freundlichen Grüssen Michael Schuster ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Tracing FDs

2011-01-04 Thread Michael Schuster
dtrace-discuss@opensolaris.org -- regards/mit freundlichen Grüssen Michael Schuster ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] save and recall more than one value of the same thread

2010-10-26 Thread Michael Schuster
On 26.10.10 15:32, goinsane wrote: Hi, I'd like to know if D enables to save and recall values of the same thread in a way like self-... does. Let's say a thread fires syscall::open:entry two times and gets 2 filedescriptors. How could I save those in syscall::open:return for later reuse?

Re: [dtrace-discuss] drops on CPU?

2010-05-20 Thread Michael Schuster
On 20.05.10 01:25, Kevin Colwell wrote: In reviewing some dtrace output I'm confused because something I expect to see is missing. I see a process' thread enter a function but I never see it return. About a minute later I see the same tid active, but in other functions. I'm guessing that

Re: [dtrace-discuss] dtrace / c++ / lots of threads

2010-05-12 Thread Michael Schuster
On 11.05.10 20:26, William Reich wrote: as far as I know - no again, any other executable , say hello world , works with dtrace just fine. Only this one particular executable is not working with dtrace. IIRC, it was a fairly complex beast. can you reduce it to the minimal set that still

Re: [dtrace-discuss] dtrace / c++ / lots of threads

2010-05-11 Thread Michael Schuster
On 11.05.10 14:38, William Reich wrote: as implied in the first email ( below ) , the only thing that I see as different between this particular process and any other is that a) the executable is 8.5 megs as it sits on the disk I don't think this should be an issue ... but can you give some

Re: [dtrace-discuss] dtrace / c++ / lots of threads

2010-05-10 Thread Michael Schuster
On 10.05.10 15:51, William Reich wrote: Yes, I am trying to find my hotspots. However - NO dtrace script will work. how is it failing? like your initial script: Now I want to use this script on a large C++ executable. The executable is 8.5 meg in size on a x86 platform. This executable has

Re: [dtrace-discuss] dtrace / c++ / lots of threads

2010-05-10 Thread Michael Schuster
On 10.05.10 21:01, William Reich wrote: only this process fails - ./adc.d 24930 dtrace: failed to compile script ./adc.d: line 7: failed to grab process 24930 This script works fine on any other process. so then the obvious question is: what's different about that process/program? are you

Re: [dtrace-discuss] Invalid address error when using stringof to convert a pointer to a string

2010-05-05 Thread Michael Schuster, Oracle
that the numbers themselves won't solve? Michael -- Michael SchusterOracle Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Invalid address error when using stringof to convert a pointer to a string

2010-05-05 Thread Michael Schuster
On 05.05.10 18:11, Yossi Lev wrote: Hi Michael I just found a function that (sort of) does what I need: it is called lltostr and it takes a long long integer, and returns a string that represents it. (Unfortunately I didn't find an option to do the translation in hexadecimal, but I can live

Re: [dtrace-discuss] Invalid address error when using stringof to convert a pointer to a string

2010-05-05 Thread Michael Schuster
On 05.05.10 18:40, Yossi Lev wrote: Thanks, I know that I can provide multiple keys, but the number of keys for an aggregation must be constant, and I didn't want to pad with zeros all missing keys as in the common case my sequence has 2 or 3 keys (and not the maximum number of 8). These are

Re: [dtrace-discuss] Replacing libumem's debug with dtrace?

2010-03-11 Thread Michael Schuster
for the crash can you examine the core dump? Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] about sched interrupt

2010-01-21 Thread Michael Schuster
Qihua Wu wrote: Why sched is often interrupt on cpu 0 instead of distribution evenly on all cpu? dtrace -n 'sdt:::interrupt-start { @num[execname,cpu] = count(); }' dtrace: description 'sdt:::interrupt-start ' matched 1 probe the output of intrstat may help. Michael -- Michael Schuster

Re: [dtrace-discuss] Who is killing our DNS server

2009-12-02 Thread Michael Schuster
, but maybe focussing on the network tools can gain you some more knowledge here. HTH Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] dtracing a forked process OR dynamic library

2009-11-19 Thread michael schuster
reports of I see hex numbers instead of symbols reported), and stop makes sure the child process doesn't go and do all the interesting work before dtrace gets instrumentation in place - or so I understand it. Michael -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see

Re: [dtrace-discuss] Who're stealing memory ?

2009-11-19 Thread Michael Schuster
___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion

Re: [dtrace-discuss] dtrace - nanosecond timer ?

2009-11-05 Thread Michael Schuster
resolution the HW can offer. Is timestamp really that accurate when the hi-res-tick-timer is off ? the unit is in ns, precision can be less (at least that's what I remember from the last time I looked at this) and again depends on HW. Michael -- Michael Schusterhttp://blogs.sun.com

Re: [dtrace-discuss] Collecting Long-Term Performance Data

2009-05-29 Thread Michael Schuster
the time, or is it better to keep it running and throw away the data points I don't want? wouldn't it make more sense to use kstats for the long-term data collection? after all, that's what they're there for. (I know, probably not what you wanted to hear ;-) Michael -- Michael Schusterhttp

Re: [dtrace-discuss] dtrace script affects write performance?

2009-04-16 Thread Michael Schuster
) and watch for changes (or to start simple and add bits ...). HTH Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] DTracing one's own libraries

2009-04-02 Thread Michael Schuster
library name (libmylib.so.1) is specified, DTrace does its job; apparently, the matching code has suffered since it was introduced. thx all for your help Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion

[dtrace-discuss] DTracing one's own libraries

2009-04-01 Thread Michael Schuster
use -fomit-frame-pointer! – Sun compilers: avoid -xO4; it does this by default! which, AFAICT, I'm not doing [I tweaked the options for development]) TIA Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion

Re: [dtrace-discuss] DTracing one's own libraries

2009-04-01 Thread Michael Schuster
On 04/01/09 10:06, Chad Mynhier wrote: On Wed, Apr 1, 2009 at 12:41 PM, Michael Schuster michael.schus...@sun.com wrote: All, from reading of the DTrace documentation, eg. at http://wikis.sun.com/display/DTrace/pid+Provider, I got the impression that I could do something like dtrace -n

[dtrace-discuss] DTrace in daemon code

2009-03-26 Thread Michael Schuster
) there's some inherent issues with this? We'd appreciate any insight/feedback/pointers. thx Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] DTrace in daemon code

2009-03-26 Thread Michael Schuster
, and MySQL is run as a daemon as well. ah ... that's not in ON, that's why :-) thx Michael Rayson On 3/26/09, Michael Schuster michael.schus...@sun.com wrote: All, we're considering instrumenting the daemon we're developing for our project with SDT probes, and were a little surprised

Re: [dtrace-discuss] df -k takes too long only at random times

2009-02-12 Thread Michael Schuster
) is this something related to DTrace, or is dtrace-discuss the first alias that came to mind? HTH Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Dtrace command

2008-11-07 Thread Michael Schuster
;-) more specific about what you're trying to achieve. DTrace is a very powerful tool, and there's many problems for which DTrace isn't the best tool in the first place, it's hard to give any helpful advice for such a vague question. Michael -- Michael Schusterhttp://blogs.sun.com

Re: [dtrace-discuss] truss -fall equivalent in DTrace

2008-11-06 Thread michael schuster
[EMAIL PROTECTED] wrote: What I mean to ask is will PID provider trace child processes forked by the parent process? no. You need to trace fork/exec system calls (or similar events) and run a new script (or the same again ...) with appropriate arguments (ie pid). HTH Michael -- Michael

Re: [dtrace-discuss] Error DIF offset

2008-10-29 Thread michael schuster
: fbt:ip:tcp_conn_request:entry): invalid address (0x0) in action #4 at DIF offset 12 -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Why does not always the ustack() output the function name?

2008-10-20 Thread michael schuster
the names from, and all you see is addresses. HTH Michael -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] DTrace on Mac OS X

2008-09-02 Thread Michael Schuster
complicated for what you want to do, and it may look different on the Mac, but you get the idea, I hope. HTH Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss

Re: [dtrace-discuss] Dtrace script for Web Server 7

2008-08-13 Thread Michael Schuster
able to get some information of the TCP stack with ndd -get /dev/tcp tcp_acceptor_hash But the sys admin didn't think that info helped. same applies here. doesn't help is an insufficient problem description, IMO. Michael -- Michael Schusterhttp://blogs.sun.com/recursion

Re: [dtrace-discuss] Memory leak scripts

2008-07-01 Thread Michael Schuster
description pid10312:libc.so.1:malloc:entry does not match any probes this begs the question: is there a process with pid 10312? Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace-discuss

Re: [dtrace-discuss] Memory leak scripts

2008-07-01 Thread Michael Schuster
9:41 AM, Michael Schuster [EMAIL PROTECTED] wrote: Fletcher Cocquyt wrote: Hola, I am trying to isolate the memory leak I suspect in a mailman installation ­ I found: http://blogs.sun.com/sanjeevb/date/200506 It gives an error: [EMAIL PROTECTED]:~ 9:21am 65 # ./memleak.d 10312 dtrace

Re: [dtrace-discuss] function names of kerrnel modules not printed

2008-06-26 Thread Michael Schuster
disable the unloading for test purposes and see what happens? HTH Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Help/tips needed

2008-06-18 Thread Michael Schuster
struct once */ self-d = self-d-next; } and repeat the last clause several as many times as you anticipate it may be necessary. HTH Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace

Re: [dtrace-discuss] mblk chains?

2008-06-11 Thread Michael Schuster
; this-size = this-mp-b_wptr - this-mp-b_rptr; this-count=1; } fbt::driver_send:entry /this-mp this-mp-b_cont/ { this-mp = this-mp-b_cont; this-size += this-mp-b_wptr - this-mp-b_rptr; this-count++; } -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion

Re: [dtrace-discuss] mblk chains?

2008-06-11 Thread Michael Schuster
Andrew Gallatin wrote: Michael Schuster wrote: Andrew Gallatin wrote: Thanks! That seems to work. FWIW, recursion also seems to work. Eg: can you explain a little what you mean by that? As I understand both DTrace and recursion, they don't really mix. Michael fbt::driver_send:entry

Re: [dtrace-discuss] help with troubleshooting problem with process on my T2000

2008-05-20 Thread michael schuster
) and that process completed in around 50 seconds. We are suspecting that maybe the single Floating-point inside that T2000 is causing this problem? do you have any information about what this program is actually doing or meant to do? CAn you talk to the developer about this? michael -- Michael

Re: [dtrace-discuss] JAVA Hex address to symbol translation

2008-05-16 Thread michael schuster
Michael -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] newbie question about tracing malloc/free

2008-05-13 Thread michael schuster
(to write output to a file)? - you can add set snooping=1 to /etc/system. In the case that the machine is so badly hung that the clock stops working, this will panic the machine. (works only after next reboot). HTH Michael -- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see

Re: [dtrace-discuss] newbie question about tracing malloc/free

2008-05-13 Thread michael schuster
in the same area, and, when used appropriately, probe impact is minimal. I have to misuse this thread for another question: Q: Where can I discuss asynchronous socketing on [Open]Solaris ? that'd be [EMAIL PROTECTED] Michael -- Michael Schuster http://blogs.sun.com/recursion Recursion, n

Re: [dtrace-discuss] newbie question about tracing malloc/free

2008-05-12 Thread michael schuster
-- Michael Schuster http://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Help pid provider follow child processes

2008-05-06 Thread Michael Schuster
dtrace instance in system() reinserts probes (it takes some time). Do you know some workaround ? the usual thing to do is to stop() the process in question and then do the system() thing. HTH Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion

Re: [dtrace-discuss] Process in LCK / SLP (Please)

2008-04-16 Thread Michael Schuster
they're actually doing and access to the source code. I'd talk to the people developing this app. Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss

Re: [dtrace-discuss] Changing function arguments or result

2008-02-19 Thread michael schuster
as overengineered. Using it for fixing programgs would be. -- Michael SchusterSun Microsystems, Inc. http://blogs.sun.com/recursion ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] dtrace: where to download it? it is different than DTraceToolkit

2008-02-13 Thread Michael Schuster
. Michael -- Michael Schusterhttp://blogs.sun.com/recursion Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] timewarping with walltimestamp

2007-12-20 Thread michael schuster
Bryan Cantrill wrote: On Thu, Dec 20, 2007 at 12:38:26PM -0800, Roman Shaposhnik wrote: On Thu, 2007-12-20 at 06:26 -0800, michael schuster wrote: what I did notice though is that walltimestamp does NOT increase at the same rate as timestamp does, Given the documentation I would consider

Re: [dtrace-discuss] Strip Solaris off non-essential drivers!

2007-12-03 Thread Michael Schuster
. Please use the search capabilities on opensolaris.org to find a better place. Michael -- Michael Schuster Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Exhaustive tracing with pid provider?

2007-11-07 Thread Michael Schuster
. Michael -- Michael Schuster Recursion, n.: see 'Recursion' ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Bad pointer checking

2007-10-03 Thread michael schuster
Peter Vrabel wrote: Hi, is there any possibility to check, if the user space pointer is correct or not? I don't refer to invalid address error caused by fault-in paging. Thanks. define correct pointer. Michael -- Michael SchusterSun Microsystems, Inc. recursion, n: see 'recursion

Re: [dtrace-discuss] Timespent by a function body

2007-08-31 Thread Michael Schuster
started off with a different example, where it would have been ...) Michael - Original Message From: michael schuster [EMAIL PROTECTED] To: Ajit Bansode [EMAIL PROTECTED] Cc: dtrace-discuss@opensolaris.org Sent: Friday, 31 August, 2007 11:06:52 AM Subject: Re: [dtrace-discuss