i just wanted to ask whether can we modify the functioning of a process by monitoring it using dtrace,lets consider theres a situation where a particular process is in a kind of deadlock situation , so using this dynamic tracin framework can we like bring the process back to the previous stable state n avert tat deadlock on the fly without killing the process. This message posted from opensolaris.org
On Sun, 16 Oct 2005, pranesh wrote: .... reformatted .....> i just wanted to ask whether can we modify the functioning of a process > by monitoring it using dtrace,lets consider theres a situation where a > particular process is in a kind of deadlock situation , so using this > dynamic tracin framework can we like bring the process back to the > previous stable state n avert tat deadlock on the fly without killing the > process. This message posted from opensolaris.orgPlease do a little self study on DTrace. You''ll quickly realize that, central to DTrace design and philosophy, is the concept that it is totally non-intrusive to any process running on the system. Regards, Al Hopper Logical Approach Inc, Plano, TX. al at logical-approach.com Voice: 972.379.2133 Fax: 972.379.2134 Timezone: US CDT OpenSolaris.Org Community Advisory Board (CAB) Member - Apr 2005
Hi Pranesh, In general, you can''t modify the state of the system and that includes user-land processes. With destructive actions enabled, you can use the copyout() action to modify the program''s address space, but there''s no kind of automated checkpointing that you might be thinking of. Adam On Sun, Oct 16, 2005 at 01:27:47PM -0700, pranesh wrote:> i just wanted to ask whether can we modify the functioning of a process by monitoring it using dtrace,lets consider theres a situation where a particular process is in a kind of deadlock situation , so using this dynamic tracin framework can we like bring the process back to the previous stable state n avert tat deadlock on the fly without killing the process. > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org-- Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl
thanks Adam for the quick response.But i m thinking of taking this dtrace concept as my project and i m really confused as to how to go about it.So can u suggest me any possible ideas or any kind of a project i can come up with using this framework because virtually none of my teachers know about this concept and it would be highly appreciative if u lend me a hand in this field.Bottomline is i would like to give me some area where i can work upon. pranesh crescent engg. college 4th year...computer science This message posted from opensolaris.org
Hi Pranesh, Do I understand correctly that you''re looking for a project within the DTrace community? I think one of the best ways to get involved and to learn DTrace quickly is to construct DTrace support from your favorite application or language. That will embeding user-level statically defined tracing probes into the application or runtime binary and there are some examples of this for php, Ruby, Java, and perl that you can find on various weblogs. If you have other ideas for how to extend DTrace, ideas for new providers, or other crazy ideas, feel free to send them out to the list. I''ll scratch my head and try to come up with some other ways to participate. Adam On Mon, Oct 17, 2005 at 09:57:13AM -0700, pranesh wrote:> thanks Adam for the quick response.But i m thinking of taking this dtrace concept as my project and i m really confused as to how to go about it.So can u suggest me any possible ideas or any kind of a project i can come up with using this framework because virtually none of my teachers know about this concept and it would be highly appreciative if u lend me a hand in this field.Bottomline is i would like to give me some area where i can work upon. > > pranesh > crescent engg. college > 4th year...computer science > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org-- Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl
hi adams, well u have given me an idea of dtrace support system.tat sounds good but let me just tell you,i m almost a beginner in this field of dtrace.I have gone through some of the pdfs put up on this site but i would appreciate if you gave me some references as to where to start and how to go abt it... abt the idea which i had..like u told me there isnt any checkpoints facility in dtrace currently.So is it possible to like incorporate such a feature.Now about the security.wat i thought was since sand box testing of ur d prog is done, u can safely enter a code that switches the process to the previous state on the fly. Basically i m tryin to propose a (on the fly)deadlock handler kind of utility. So please gimme your feedback it would be highly helpful to me. This message posted from opensolaris.org
Hi Pranesh, What you''ve described would certainly be an ambitious project. If you''re still unfamiliar with DTrace, you might want to start by reading the Solaris Dynamic Tracing Guide as well as the blogs referenced in the DTrace section of the OpenSolaris site. Adam On Tue, Oct 18, 2005 at 11:28:15AM -0700, pranesh wrote:> hi adams, > well u have given me an idea of dtrace support system.tat sounds good but let me just tell you,i m almost a beginner in this field of dtrace.I have gone through some of the pdfs put up on this site but i would appreciate if you gave me some references as to where to start and how to go abt it... > > abt the idea which i had..like u told me there isnt any checkpoints facility in dtrace currently.So is it possible to like incorporate such a feature.Now about the security.wat i thought was since sand box testing of ur d prog is done, u can safely enter a code that switches the process to the previous state on the fly. Basically i m tryin to propose a (on the fly)deadlock handler kind of utility. > > So please gimme your feedback it would be highly helpful to me. > This message posted from opensolaris.org > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org-- Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl