Re: [dtrace-discuss] Variable mpid - what is it?

2008-11-08 Thread Sanjeev Bagewadi
Shiv, S h i v wrote: > DTraceToolkit has a dtrace script (Proc/pidpersec.d) that refers to a > variable mpid as below > > profile:::tick-1sec > { > printf("%-22Y %8d %6d\n", walltimestamp, `mpid, pids); > pids = 0; > } > > Where is `mpid getting picked from (it isn't declared anywhere el

Re: [dtrace-discuss] Memory leak on solaris 10 production server

2008-07-28 Thread Sanjeev Bagewadi
Shiv, S h i v wrote: > Hi Sanjeev, > > I have attached a script that does some more processing on the dtrace > output to provide more information in the summary. > > Thanks ! > On Mon, Jun 30, 2008 at 7:04 PM, Sanjeev Bagewadi > <[EMAIL PROTECTED]> wrote: >

Re: [dtrace-discuss] Memory leak scripts

2008-07-02 Thread Sanjeev Bagewadi
the script. Please try it out and let me know if it works. If it does I shall update my blog to reflect it. NOTE : If there more functions which fail (for :entry) please replace "entry" with 0. Thanks and regards, Sanjeev. Sanjeev Bagewadi wrote: Fletcher, You could attach mdb to

Re: [dtrace-discuss] Memory leak scripts

2008-07-02 Thread Sanjeev Bagewadi
fs > > Thanks, > Fletcher > > On 7/1/08 9:48 PM, "Sanjeev Bagewadi" <[EMAIL PROTECTED]> wrote: > > >> Hello Fletcher, >> >> From the error looks like dtrace is not able recognize it as probe. >> DTrace needs a signature for the function

Re: [dtrace-discuss] Memory leak scripts

2008-07-01 Thread Sanjeev Bagewadi
Hello Fletcher, From the error looks like dtrace is not able recognize it as probe. DTrace needs a signature for the function to be detected as probe. Probably this is missing in case of malloc. Just to double check this you could disassemble malloc and check if we have a "push' instruction at t

Re: [dtrace-discuss] Memory leak on solaris 10 production server

2008-06-30 Thread Sanjeev Bagewadi
Durney, I have a simple script for the userland and the details are available on my blog : http://blogs.sun.com/sanjeevb/ The script is fairly rudimentary and I have intentionally avoided any processing during collection. All the intelligence is in the postprocessing Perl script. Probably ther

Re: [dtrace-discuss] [Trivia question] What engine is it on DTraceT-shirt ?

2008-06-10 Thread Sanjeev Bagewadi
Thanks a ton to Thomas and everyone who responded ! Now, I need to go back and start peering at the TShirt to spot Sun :) Regards, Sanjeev. Bryan Cantrill wrote: > On Tue, Jun 10, 2008 at 09:51:59PM +0200, Thomas Tornblom wrote: > >> Mike DeMarco skrev: >> >>> It is a chevy engine you c

[dtrace-discuss] [Trivia question] What engine is it on DTrace T-shirt ?

2008-06-10 Thread Sanjeev Bagewadi
Hi, This is not a DTrace technical question (so, please don't flame me for it) :) This is regarding the DTrace (un)conference TShirt. I am curious to know what engine is it. Could not figure it out. Thanks and regards, Sanjeev. -- Solaris Revenue Products Engineering, India Engineering Center

Re: [dtrace-discuss] Dtrace queries - predicates & func arg tracing

2008-05-21 Thread Sanjeev Bagewadi
Shiv, S h i v wrote: > [2] Is there any means to get the arguments of a function dynamically? > I would like to create dscripts automatically to trace the functions > and if possible trace arguments as well (when I have access only to > the binaries). > This is a very interesting area :) I was

[dtrace-discuss] Ruby on Solaris preso ?

2008-02-29 Thread Sanjeev Bagewadi
Hi, I am looking for some presos or material which explore why Ruby/JRuby on Solaris with DTrace would make sense. (I am aware of the Adam's blog of twitter and we are using that info :-) Any pointers would be really helpful ! Thanks and regards, Sanjeev. ___

Re: [dtrace-discuss] ruby provider not working...

2008-02-13 Thread Sanjeev Bagewadi
|0|13 |dtrace_dof_init [1416] | 135188840|54|FUNC |LOCL |0|13 |ruby_dtrace_fire -- snip -- Thanks again to all of you who responded to this query ! Regards, Sanjeev. Chris Andrews wrote: > On 2/8/08, Sanjeev Bagewadi <[EMAIL PROTECTED]> wrote: > >&

[dtrace-discuss] ruby provider not working...

2008-02-08 Thread Sanjeev Bagewadi
Hi, I am trying use the ruby provider... but that seems to be failing for some reason : -- snip -- dtrace -n 'ruby$target::: {trace(arg0);}' -c /var/tmp/ruby dtrace: invalid probe specifier ruby$target::: {trace(arg0);}: probe description ruby2063::: does not match any probes ... -- snip -- I

Re: [dtrace-discuss] Capture of loopback interface messages

2007-08-30 Thread Sanjeev Bagewadi
Dan, I was helping a student write this simple Dscript to track traffic between zones on a single host. It should work in your case as well I guess. You may need to tweak it a bit. Regards, Sanjeev. Rajagopal Kunhappan wrote: A quick check on google reveals a loopback dtrace script. Check an