<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3835450307118836937</id><updated>2011-11-04T10:19:32.004-07:00</updated><category term='Red Hat'/><category term='Bootchart'/><category term='Mukti.in'/><category term='SystemTap'/><category term='GSoC'/><category term='Fedora Project'/><category term='Sarai'/><category term='random stuff'/><title type='text'>me.. in the making</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>29</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-8156460927610810513</id><published>2011-11-02T07:37:00.000-07:00</published><updated>2011-11-02T13:44:11.908-07:00</updated><title type='text'>Talk at FUDCon.in</title><content type='html'>After working with JBoss and Drools for more than an year at Red Hat, I am giving my first JBoss talk!&lt;br /&gt;&lt;br /&gt;I am giving an introduction to &lt;a href="http://www.jboss.org/drools"&gt;JBoss Drools&lt;/a&gt; (An open source Business Rules Integration Platform).&lt;br /&gt;&lt;br /&gt;As the expected audience is primarily students, I intend to give them a short background of expert systems, give them an idea about inference engines and their applications in the industry using drools as an example.&lt;br /&gt;&lt;br /&gt;As the schedule permits only 40 mins for the talk and 10 mins for Q&amp;amp;A, I'll show them how to make a simple application using drools if time permits.&lt;br /&gt;&lt;br /&gt;Being a happy drools user for quite sometime, I really hope I am able to convince people to give it a try :)&lt;br /&gt;&lt;br /&gt;Oh and now is the time for the uber-cute FUDCon's Happy Guy!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://fudcon.in/" title="FUDCon Pune 2011"&gt; &lt;img src="https://fedoraproject.org/w/uploads/4/40/Button3-going.png" alt="" /&gt; &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-8156460927610810513?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/8156460927610810513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=8156460927610810513' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/8156460927610810513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/8156460927610810513'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2011/11/talk-at-fudconin.html' title='Talk at FUDCon.in'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-5359240188621531554</id><published>2011-03-15T12:59:00.000-07:00</published><updated>2011-03-15T13:11:38.798-07:00</updated><title type='text'>mavu.in</title><content type='html'>Hi All,&lt;br /&gt;&lt;br /&gt;My blog has a new &lt;a href="http://mavu.in/"&gt;home&lt;/a&gt;. I've had the domain for quite sometime and I finally decided I'm going to move and be active. See y'all there!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-5359240188621531554?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/5359240188621531554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=5359240188621531554' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/5359240188621531554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/5359240188621531554'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2011/03/mavuin.html' title='mavu.in'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-6920301106088684038</id><published>2009-08-17T06:59:00.000-07:00</published><updated>2009-08-17T07:29:03.176-07:00</updated><title type='text'>Demo and packaging done</title><content type='html'>After some re-assessment of our goals for GSoC, we decided to bring out the standalone version of beacon and continue with the integration later.&lt;br /&gt;&lt;br /&gt;I got sponsored for sysadmin-test by Fedora-infra and have set the demo up &lt;a href="http://publictest1.fedoraproject.org/beacon/php/index.php"&gt;here&lt;/a&gt;. To access it, one needs to create an account on &lt;a href="http://publictest3.fedoraproject.org/accounts/" target="_blank"&gt;http://publictest3.&lt;wbr&gt;fedoraproject.org/accounts/&lt;/a&gt; and then use that test account.&lt;br /&gt;&lt;br /&gt;Also, I finally managed to get over my packaging blues with some kind help from Rakesh Pandit and have submitted a review request &lt;a href="https://bugzilla.redhat.com/show_bug.cgi?id=517851"&gt;here.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;On the whole, this GSoC has been fun (I know the project is not finished yet, but the GSoC phase is coming to a close). This year, it was not as much about GSoC as it was about implementing a product which would be guaranteed in use by the community. I interacted with the community more than last time.&lt;br /&gt;&lt;br /&gt;Last but not the least, a heartfelt thanks to a very cool mentor, an amazing upstream (esp. Nandeep), and a very supportive community.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-6920301106088684038?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/6920301106088684038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=6920301106088684038' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/6920301106088684038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/6920301106088684038'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2009/08/demo-and-packaging-done.html' title='Demo and packaging done'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-6502304746016567544</id><published>2009-07-13T10:35:00.000-07:00</published><updated>2009-07-13T12:35:59.927-07:00</updated><title type='text'>Standalone DocBook editor is ready!</title><content type='html'>Finally finished the DTD for all the tags :) &lt;span style="font-weight:bold;"&gt;*phew*&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;Also added a document tree which helps easy navigation, addition and deletion of elements etc. Please check this feature out &lt;a href="http://dev.gentooexperimental.org/~n9986/beacon/editor/"&gt;here&lt;/a&gt;. It is really cool.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Checklist:&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt; Deliverable 1 done.&lt;br /&gt;&lt;br /&gt;For the other two deliverables,test results and documentation, I have an idea. I will write the documentation in DocBook format using Beacon itself.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;Note:&lt;/span&gt; Since the demo is still in testing do not trust your documents with it yet. We'll make it stable soon. Better yet, it would be great if community could report bugs/suggestions. :)&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-6502304746016567544?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/6502304746016567544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=6502304746016567544' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/6502304746016567544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/6502304746016567544'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2009/07/standalone-docbook-editor-is-ready.html' title='Standalone DocBook editor is ready!'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-6718403271427821421</id><published>2009-07-11T21:24:00.000-07:00</published><updated>2009-07-11T21:46:22.725-07:00</updated><title type='text'>XSLs done!</title><content type='html'>Finally sent my XSLs to Nandeep for review yesterday. He must have committed it by now.&lt;br /&gt;Also found a DocBook CSS which publican uses and replaced the existing one. Using the same CSS might help in integrating later on. &lt;br /&gt;&lt;br /&gt;Will finish the DTD today.&lt;br /&gt;&lt;br /&gt;Now off to fill the mid term evaluation form...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-6718403271427821421?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/6718403271427821421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=6718403271427821421' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/6718403271427821421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/6718403271427821421'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2009/07/xsls-done.html' title='XSLs done!'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-7960251773645549074</id><published>2009-07-07T10:19:00.000-07:00</published><updated>2009-07-07T10:28:39.812-07:00</updated><title type='text'>What's Next</title><content type='html'>Mid-terms evaluations are knocking on door and its been quite a wild ride coding. Web development is a different ball game altogether and I am beginning to understand why they call JavaScript the world's best worst language :D&lt;br /&gt;&lt;br /&gt;After I have spruced the Beacon code and finally finished the DocBook DTD with the initial subset, I am going to start the next big task of getting Beacon integrated with Zikula and Publican for a seamless documentation experience.&lt;br /&gt;&lt;br /&gt;It looks like Zikula has some text editors and a plug-in for them. I have to find the best way to get Beacon fit in that work flow. Fortunately Beacon already has a feature that allows one to embed it on any page. So it shouldn't be that difficult.&lt;br /&gt;&lt;br /&gt;Am still looking for a best way to get Beacon integrated with Publican. It would be nice if the community can suggest a way to do it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-7960251773645549074?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/7960251773645549074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=7960251773645549074' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/7960251773645549074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/7960251773645549074'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2009/07/whats-next.html' title='What&apos;s Next'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-3979852875018576112</id><published>2009-07-02T11:57:00.000-07:00</published><updated>2009-07-02T13:34:14.353-07:00</updated><title type='text'>DocBook Editor 2</title><content type='html'>Just completed a tiny DTD for DocBook corresponding to the small set of tags for which I had written the XSLs. I am so glad it works! (http://dev.gentooexperimental.org/~n9986/beacon/editor/ works best with firefox)&lt;br /&gt;&lt;br /&gt;Now on it is just a matter of adding more elements to get a richer tag-set for DocBook till the mid-term evals. The basic infra is all set up (will try to keep improving usability though).&lt;br /&gt;&lt;br /&gt;Also added a brand new and better CSS.&lt;br /&gt;&lt;br /&gt;On the other side  I think I should try and get more community involvement into developing the editor as the number of DocBook elements is *huge*.&lt;br /&gt;&lt;br /&gt;I'll start by explaining what beacon is and how it works.&lt;br /&gt;&lt;br /&gt;Beacon is a What you see is what you mean editor which relies heavily on XSL for XML to HTML conversions and vice-versa.&lt;br /&gt;&lt;br /&gt;Most of the work involved in making a plugin is writing the two XSLs. One is required for converting the XML to HTML so that it can be displayed in the browser. And the other for converting the HTML back to XML. All these operations are done on the server side using PHP (or Python).&lt;br /&gt;&lt;br /&gt;One may wonder, why rewrite XSLs if they already exists, like for Docbook for example. The reason is that Beacon needs some 'hooks' in the generated HTML so it can pick up the nodes using Javascript. This is required to do multitude of tasks like rendering inline editors, maintaining structural sanity, addition/deletion of new nodes, etc. Since HTML and Docbook XML tags are very different, there needs to be some way to map the XML tags over to HTML. These hooks are done using title attribute on tags. So for example, the &lt;para&gt; tag will be rendered in HTML as:&lt;br /&gt;&lt;br /&gt;&lt;/para&gt; &lt; p title = "docbookPara"&gt; Somethings are best with a title &lt; /p &gt;&lt;br /&gt;&lt;para&gt;&lt;br /&gt;Title tags tend to be most unobtrusive here and works well for DOM manipulation which is made even easier thanks to jQuery.&lt;br /&gt;&lt;br /&gt;Once the HTML has been rendered, some Javascript magic makes it editable via inline editors of various types. We are still working on the node adding/deleting feature. Once that is done we will have a more or less a complete editor.&lt;br /&gt;&lt;br /&gt;The validation of the generated HTML is kept in check via a Javascript based DTD.&lt;br /&gt;&lt;br /&gt;So the user cycle of Beacon is:&lt;br /&gt;&lt;br /&gt;new document -&gt; XML -&gt; HTML -&gt; XML&lt;br /&gt;&lt;br /&gt;All ajax-y communication is handled by JSON (except for file upload which uses an iframe of course).&lt;br /&gt;&lt;br /&gt;Since its a web based it relies completely on Ajax for any post first page load. The UI is pretty much like a desktop Application with Tabs, sidebar etc.&lt;br /&gt;&lt;br /&gt;To sum it up, a plugin now requires:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Couple of XSLs&lt;/li&gt;&lt;li&gt;Javascript based DTD&lt;/li&gt;&lt;li&gt;Some trivial PHP code&lt;/li&gt;&lt;li&gt; CSS + some template XMLs&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;I will write a tutorial on how to make a plugin for docbook next. Will be nice if folks chip in to get in as many tags supported as possible.&lt;/para&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-3979852875018576112?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/3979852875018576112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=3979852875018576112' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/3979852875018576112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/3979852875018576112'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2009/07/docbook-editor-2.html' title='DocBook Editor 2'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-7867237880859516433</id><published>2009-07-02T01:45:00.000-07:00</published><updated>2009-07-02T03:01:18.860-07:00</updated><title type='text'>DocBook Editor 1</title><content type='html'>It's been very quiet in here. This month has been a marathon of coding and a lot of other events on the home front.&lt;br /&gt;&lt;br /&gt;First off, a few non-GSoC related developments:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;I finished college. (Phew!)&lt;br /&gt; &lt;/li&gt;&lt;li&gt;I got placed in Red Hat as an Associate Software Engineer. (&lt;span style="font-weight: bold;"&gt;gleee!&lt;/span&gt;)&lt;br /&gt; &lt;/li&gt;&lt;li&gt;I won the Sun India Code For Freedom contest for my B. Tech Project. (ZOMG!! yes that was COMPLETELY unexpected!)&lt;/li&gt;&lt;li&gt;I went out for a small trip this weekend after almost 2 years.&lt;br /&gt; &lt;/li&gt;&lt;/ul&gt;  Now to the DocBook Editor...&lt;br /&gt;&lt;br /&gt;I started off by learning XSLT (tough!)  and making an initial RPM for Beacon and submitted it for review. I created a Feature page and worked on deciding on an initial subset with the help of the Fedora-docs list.&lt;br /&gt;&lt;br /&gt;Here are a few links to complement the above:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://fedoraproject.org/wiki/DocBook_Editor_Documentation" target="_blank"&gt;https://fedoraproject.org/&lt;wbr&gt;wiki/DocBook_Editor_&lt;wbr&gt;Documentation&lt;/a&gt;&lt;br /&gt;&lt;a href="https://fedoraproject.org/wiki/Features/DocBookEditor" target="_blank"&gt;https://fedoraproject.org/&lt;wbr&gt;wiki/Features/DocBookEditor&lt;/a&gt;&lt;br /&gt;&lt;a href="https://fedoraproject.org/wiki/DocBook_Editor" target="_blank"&gt;https://fedoraproject.org/&lt;wbr&gt;wiki/DocBook_Editor&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then, I constructed an initial XSL by referring to the example DocBook file in the Fedora Documentation repository and based on the initial tag set that was selected after a community review.&lt;br /&gt;&lt;br /&gt;Initially, I fixed a few bugs in Beacon to learn the source code and worked on making it more convenient to add plug-ins by changing the implementation so that beacon needs only a DTD from the plug-in makers (which is us) rather than having us code the whole Javascript. A successful implementation of this would save a lot of time in feature addition and creation of plugins.&lt;br /&gt;&lt;br /&gt;Apart from the DTD, I was learning the tools more from implementation perspective like JavaScript and jQuery library used in Beacon.&lt;br /&gt;&lt;br /&gt;The last week has been the most exciting. Working with Nandeep Mali, the lead Beacon dev and my point of contact for the Beacon upstream, we got the DTD feature implemented to some extent and its working like a charm. The WYSIWYM is also working and just few more additions need to be done to make this a solid XML editor.&lt;br /&gt;&lt;br /&gt;The DTD is actually a giant Javascript object which contains details about every node and its structure (like child, parent, siblings). One may think that why not use an existing WYSIWYG editor like TinyMCE. This is not very feasible because WYSIWYG editors are notorious for&lt;br /&gt;the output they produce. This is what Beacon is trying to avoid by adding a different type of editor. The user will be places with a fill-in-the-blanks type of editor so the generated XML will retain its sanity and conform to Docbook DTD. Makes it easy for the Docs team as well.&lt;br /&gt;&lt;br /&gt;Now for the treat: &lt;a href="http://dev.gentooexperimental.org/%7En9986/beacon/editor/" target="_blank"&gt;http://dev.gentooexperimental.&lt;wbr&gt;org/~n9986/beacon/editor/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The above URL is a demo of what we have been working with (I hope the Gentoo URL is not a problem. Beacon was a Gentoo SoC project and I cannot get PHP with JSON and XSLs on my fedora account).&lt;br /&gt;&lt;br /&gt;The work till now mainly consisted of writing the XSLs for DocBook and making changes to the beacon core. One final enhancement in the usability of beacon would be a drag and drop feature that has not been committed so far as it is very slow at the moment.  Once that is ready it will be very easy to add nodes at any point and still not mess up the corresponding XML.&lt;br /&gt;&lt;br /&gt;I have been writing the DTD for DocBook since yesterday and will be able to commit it by very soon. So we can expect another blog post about it very soon.&lt;br /&gt;&lt;br /&gt;Has been a fun journey so far. More to come in the next post.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-7867237880859516433?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/7867237880859516433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=7867237880859516433' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/7867237880859516433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/7867237880859516433'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2009/07/docbook-editor-1.html' title='DocBook Editor 1'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-7928726580082768027</id><published>2009-05-02T04:26:00.000-07:00</published><updated>2009-05-02T05:15:18.523-07:00</updated><title type='text'>GSoCer again!</title><content type='html'>It feels awesome as I type this :) I am a &lt;a href="http://socghop.appspot.com/student_project/show/google/gsoc2009/redhat/t124024692194"&gt;GSoC student&lt;/a&gt; for Fedora this year too!  I'll be working on Implementing a DocBook plug-in for &lt;a href="http://beacon.kix.in/"&gt;Beacon&lt;/a&gt;. I am being mentored by Yaakov Nemoy and Karsten Wade is my technical guide! I feel honored to work with such amazing people :)&lt;br /&gt;&lt;br /&gt;Hope the documentation team finds the editor useful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-7928726580082768027?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/7928726580082768027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=7928726580082768027' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/7928726580082768027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/7928726580082768027'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2009/05/gsocer-again.html' title='GSoCer again!'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-3636139623094443355</id><published>2009-02-23T06:19:00.000-08:00</published><updated>2009-02-23T07:01:23.097-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Red Hat'/><category scheme='http://www.blogger.com/atom/ns#' term='Sarai'/><category scheme='http://www.blogger.com/atom/ns#' term='Mukti.in'/><category scheme='http://www.blogger.com/atom/ns#' term='SystemTap'/><title type='text'>What's been up...</title><content type='html'>Phew! back to blogger after a long time, I must say after trying so hard to get over my hesitation, I am not quite successful in getting myself into blogging.&lt;br /&gt;&lt;br /&gt;What has been up recently is that I finally got started with my Red Hat internship. My target is to introduce java profiling in SystemTap. I have been reading the SystemTap code to find out where exactly the tokens are parsed and where is the code translated into the corresponding C code.&lt;br /&gt;&lt;br /&gt;To an extent I have been successful thanks to the comments in the main.cxx stating which phase begins when, but I guess the use of kprobes has somewhat hidden how the token representing the probe point is mapped to the location where it is actually found (or maybe it is not and I could not find it). &lt;br /&gt;&lt;br /&gt;Also I have found a few C based java application profilers like JMP (TIJMP for the JVMTI supporting versions of java). I am looking at their code to know how to interface with the JVM using such tools. &lt;br /&gt;&lt;br /&gt;Looking forward to be able to accomplish the task.&lt;br /&gt;&lt;br /&gt;On the Sarai Fellowship front I am still in the process of recording the speech samples for my speech recognition project for the OLPC. Recording speech samples and typing out the text has turned out to be a lot more time consuming and laborious than I initially anticipated (Might also be because I need to arrange my schedule according to the times when the children are available which is becoming difficult because of my classes). I am also very hopeful of getting an XO soon thanks to Sankarshan Sir, Mr. Amit and Mr. Sayamindu.&lt;br /&gt;&lt;br /&gt;I am praying it all comes out fine.&lt;br /&gt;&lt;br /&gt;Next, I was invited to the National Institute of Technology, Durgapur to talk to the &lt;span style="font-style: italic;"&gt;newerbies&lt;/span&gt; about how to contribute to FOSS in their annual FOSS festival Mukti.in.&lt;br /&gt;&lt;br /&gt;It was an amazing experience. I talked about the philosophy of FOSS, why should they contribute and whats in it for them. Then I moved on to what it takes to be a contributor and how to contribute. The How part was divided into two categories, for those who want to contribute code, and for those who want to contribute by other means like helping out with the artwork, documentation, translations, publicity etc. I also talked about Fedora and OLPC in slight details as I could supplement the information there by my own experience. The presentation slides can be found &lt;a href="http://www.miniorb.in/How_to_Contribute_to_FOSS.pdf"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It was nice to try and answer questions from the audience when they gave me their skill set and asked me where could they fit in. It was also heartening to see people interested in my GSoC project and asking me about system side programming and SystemTap.&lt;br /&gt;&lt;br /&gt;Over all, I was satisfied at the end of the talk and felt it was a job well done though I was tensed about screwing up the schedule of the event by extending the talk by about an hour.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-3636139623094443355?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/3636139623094443355/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=3636139623094443355' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/3636139623094443355'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/3636139623094443355'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2009/02/whats-been-up.html' title='What&apos;s been up...'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-7976867306680088785</id><published>2008-10-11T04:18:00.000-07:00</published><updated>2008-10-11T04:32:29.519-07:00</updated><title type='text'>Boot (limn/chart)?</title><content type='html'>Had drafted a small write-up on bootlimn sometime ago. About what is bootlimn, how does it work, how is it different from bootchart and how to interpret the output of bootlimn.&lt;br /&gt;&lt;br /&gt;Just pasting the write-up here for anyone who is interested..&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="color: rgb(102, 102, 102);"&gt;&lt;span style="font-size:85%;"&gt;Bootlimn&lt;br /&gt;&lt;br /&gt;===========================================&lt;br /&gt;&lt;br /&gt;One line description:&lt;br /&gt;It is an analysis and visualization tool for the linux boot process.&lt;br /&gt;&lt;br /&gt;===========================================&lt;br /&gt;&lt;br /&gt;Working:&lt;br /&gt;Bootlimn uses systemtap[0], a kernel-probing language to extract the&lt;br /&gt;data in an event-based structure where the systemtap scripts probe for&lt;br /&gt;certain functions to be called or a small time-period to elapse before&lt;br /&gt;triggering a corresponding probe handler.&lt;br /&gt;The probe handler contains details as to how to log the information.&lt;br /&gt;&lt;br /&gt;This information is stored in XML format for standardization and for&lt;br /&gt;facilitating its use by interested third parties. This information is&lt;br /&gt;parsed using a SAX interface and is used for rendering an SVG image,&lt;br /&gt;whose format is heavily inspired by the svg output of Bootchart[1].&lt;br /&gt;&lt;br /&gt;===========================================&lt;br /&gt;&lt;br /&gt;Interpretation of results (most important for any user):&lt;br /&gt;&lt;br /&gt;An example file is sent along with this text. The XML folder contains&lt;br /&gt;the output as given by the systemtap scripts.&lt;br /&gt;&lt;br /&gt;The final bootlimn output consists of an SVG image and five text files.&lt;br /&gt;&lt;br /&gt;a) SVG image ( This image has a template similar to Bootchart):&lt;br /&gt;&lt;br /&gt;Header: The time shows how long (in seconds) the boot process took.&lt;br /&gt;&lt;br /&gt;CPU stats: The first rectangle shows the CPU stats. The pink plot (in&lt;br /&gt;the background) showing the CPU utilization and the blue plot (in the&lt;br /&gt;foreground) showing the CPU throughput.&lt;br /&gt;&lt;br /&gt;Disk stats: The second rectangle shows the CPU stats. The pink plot&lt;br /&gt;(in the background) showing the Disk utilization and the green plot&lt;br /&gt;(in the foreground) showing the disk throughput.&lt;br /&gt;&lt;br /&gt;The syscalls that have been probed are listed along with their color&lt;br /&gt;coding.&lt;br /&gt;&lt;br /&gt;Process Tree: The process tree differs from the classical process tree&lt;br /&gt;in Bootchart in the following ways:&lt;br /&gt;&lt;br /&gt;i) The processes are listed in the chronological order of their initial&lt;br /&gt;call and not necessarily as parent child blocks as in bootchart. As the&lt;br /&gt;boot is sequential, a child is never rendered before a parent but the&lt;br /&gt;child and the parent may be separated by a few intermittent processes.&lt;br /&gt;The parent-child relationship is shown by dotted lines connecting the&lt;br /&gt;parent and the child.&lt;br /&gt;&lt;br /&gt;ii) All the actions are rendered. But to bring the image to a practical&lt;br /&gt;size, process blocks instead of processes have been used. The processes&lt;br /&gt;with the same name have been merged into a process block (the individual&lt;br /&gt;rectangles in the tree), and all the calls made to the processes in the&lt;br /&gt;process block are rendered sequentially. Hence, one might observe&lt;br /&gt;sys_exit being called more than once on the same process block but the&lt;br /&gt;block might have a sys_clone called before the first exit. The criteria&lt;br /&gt;for trimming the tree can be easily altered to suit various purposes&lt;br /&gt;but changing the condition in the uniqueprocess generator (in the&lt;br /&gt;SVGRenderer.java).&lt;br /&gt;&lt;br /&gt;iii) The color code represents the last sys_call that acted upon the&lt;br /&gt;process and not the state directly. This was done because Bootlimn,&lt;br /&gt;unlike Bootchart, does not poll the /proc directory and probes the system&lt;br /&gt;calls instead.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;iv) Flexible level of detail: By default, to render the entire image&lt;br /&gt;with manageable dimensions and still be accurate, the timestamps collected&lt;br /&gt;were in milli-seconds. And while rendering each pixel represents 0.1s.&lt;br /&gt;As, no information is discarded while rendering, changing the level of&lt;br /&gt;detail is very easy.&lt;br /&gt;The level of detail in the case of bootlimn is defined by:&lt;br /&gt;   The timestamps unit (systemtap offers options to gather timestamps in ns,&lt;br /&gt;      ms etc. i.e. by changing the gettimeofday_ms in the systemtap scripts&lt;br /&gt;      in stp folder, we can change the level of detail).&lt;br /&gt;   The image size and the scale factor in the renderer.java&lt;br /&gt;The scalability of SVG images can be used to keep the image size manageable.&lt;br /&gt;&lt;br /&gt;There is no provision to concentrate on a part of boot process and give a&lt;br /&gt;separate detailed view of that part as of now.&lt;br /&gt;&lt;br /&gt;b) The text files.&lt;br /&gt;The systemtap scripts are written so as to gather as much information as&lt;br /&gt;possible.As displaying all the details on a graph is not possible, there are&lt;br /&gt;five complementary files that give all the details collected by the systemtap&lt;br /&gt;scripts.&lt;br /&gt;&lt;br /&gt;i)The Ioblock.txt gives all the block IO details:&lt;br /&gt;It prints the text output of the ioblock tapset.&lt;br /&gt;It has:&lt;br /&gt;type      - whether it was a request for IO or a signal to end&lt;br /&gt;time      - timestamp&lt;br /&gt;devname   - block device name&lt;br /&gt;ino       - i-node number of the mapped file&lt;br /&gt;error     - its value is zero on success&lt;br /&gt;sector    - beginning sector for the entire bio&lt;br /&gt;flags     -&lt;br /&gt;      BIO_UPTODATE    0       ok after I/O completion&lt;br /&gt;      BIO_RW_BLOCK    1       RW_AHEAD set, and read/write would block&lt;br /&gt;      BIO_EOF         2       out-out-bounds error&lt;br /&gt;      BIO_SEG_VALID   3       nr_hw_seg valid&lt;br /&gt;      BIO_CLONED      4       doesn't own data&lt;br /&gt;      BIO_BOUNCED     5       bio is a bounce bio&lt;br /&gt;      BIO_USER_MAPPED 6       contains user pages&lt;br /&gt;      BIO_EOPNOTSUPP  7       not supported&lt;br /&gt;rw        - binary trace for read/write request&lt;br /&gt;vcnt      - bio vector count which represents number of array element (page,&lt;br /&gt;            offset, length) which make up this I/O request&lt;br /&gt;idx       - offset into the bio vector array&lt;br /&gt;phys_segments - number of segments in this bio after physical address&lt;br /&gt;                coalescing is performed. &lt;br /&gt;hw_segments - number of segments after physical and DMA remapping&lt;br /&gt;              hardware coalescing is performed&lt;br /&gt;size      - total size in bytes&lt;br /&gt;bdev      - target block device&lt;br /&gt;bdev_contains - points to the device object which contains the&lt;br /&gt;                partition (when bio structure represents a partition)&lt;br /&gt;p_start_sect -  points to the start sector of the partition&lt;br /&gt;                structure of the device&lt;br /&gt;&lt;br /&gt;ii) The Perpro.txt gives the per process CPU usage details&lt;br /&gt;It has:&lt;br /&gt;time      - timestamp&lt;br /&gt;pid       - process id&lt;br /&gt;execname  - name of the process&lt;br /&gt;probefunc - the probing function&lt;br /&gt;utime     - the user time of the process&lt;br /&gt;stime     - the system time of the process&lt;br /&gt;&lt;br /&gt;iii) The Process.txt contains the Process details ( the process tree&lt;br /&gt;is derived out of the same XML as this file.&lt;br /&gt;It has:&lt;br /&gt;time      - timestamp&lt;br /&gt;pid       - process id&lt;br /&gt;ppid      - parent process id&lt;br /&gt;execname  - process name&lt;br /&gt;probefunc - probing function&lt;br /&gt;pexecname - parent process name&lt;br /&gt;misc      - null as of now. any additional information can be added&lt;br /&gt;&lt;br /&gt;iv) The Readwrite.txt contains the details of individual system reads&lt;br /&gt;and writes.&lt;br /&gt;It has:&lt;br /&gt;rcount    - read count so far&lt;br /&gt;wcount    - write count so far&lt;br /&gt;time      - timestamp&lt;br /&gt;pid       - process id&lt;br /&gt;execname  - process name&lt;br /&gt;pexecname - parent process name&lt;br /&gt;type      - read or write&lt;br /&gt;file      - the file to which data was written or data was read from&lt;br /&gt;&lt;br /&gt;v) The Stats.txt contains the CPU and disk statistics. This file is a&lt;br /&gt;direct mapping to the first two rectangles in the image showing CPU and&lt;br /&gt;disk stats.&lt;br /&gt;It has:&lt;br /&gt;time      - timestamp&lt;br /&gt;CPUutil   - CPU utilization&lt;br /&gt;CPUtput   - CPU throughput&lt;br /&gt;diskutil  - Disk utilization&lt;br /&gt;disktput  - Disk throughput&lt;br /&gt;&lt;br /&gt;==============================================&lt;br /&gt;Source:&lt;br /&gt;The svn version of bootlimn can be checked out from [2] and a tarball can&lt;br /&gt;be found at [3].&lt;br /&gt;&lt;br /&gt;==============================================&lt;br /&gt;&lt;br /&gt;References&lt;br /&gt;&lt;br /&gt;[0] http://sourceware.org/systemtap/&lt;br /&gt;[1] http://www.bootchart.org/&lt;br /&gt;[2] http://code.google.com/p/bootlimn/source/checkout&lt;br /&gt;[3] http://code.google.com/p/google-summer-of-code-2008-fedora/downloads/list&lt;br /&gt;&lt;br /&gt;============================================================================&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-7976867306680088785?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/7976867306680088785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=7976867306680088785' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/7976867306680088785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/7976867306680088785'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/10/boot-limnchart.html' title='Boot (limn/chart)?'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-2998282477332292873</id><published>2008-10-11T02:31:00.000-07:00</published><updated>2008-10-11T04:17:27.539-07:00</updated><title type='text'>Bootlimn on F9</title><content type='html'>On a hurrah note, finally able to run bootlimn on F9. And am too glad that it required no modification of bootlimn code. I just had to get my systemtap settings right.&lt;br /&gt;&lt;br /&gt;The output of the bootlimn from F8 and F9 can be downloaded from &lt;a href="http://code.google.com/p/bootlimn/downloads/list"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-2998282477332292873?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/2998282477332292873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=2998282477332292873' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/2998282477332292873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/2998282477332292873'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/10/bootlimn-on-f9.html' title='Bootlimn on F9'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-4823382203466264528</id><published>2008-09-16T00:22:00.000-07:00</published><updated>2008-09-16T00:44:31.098-07:00</updated><title type='text'>Project selection</title><content type='html'>Wanting  to continue with systemtap, we came up with this idea of instrumenting XEN or KVM for project 2.  Quoting my mentor " writing useful tapsets that one can use to write meaningful scripts to instrument or gather information from the&lt;br /&gt;running guest."&lt;br /&gt;&lt;br /&gt;Mr. Masami Hiramatsu Kindly pointed out the &lt;a href="http://vesper.sourceforge.net/"&gt;VESPER&lt;/a&gt; project which is a framework to gather the state of guest kernel.&lt;br /&gt;It looks as if they would like to support systemtap.&lt;br /&gt;&lt;br /&gt;The thread on the systemtap mailing list regarding the same can be found &lt;a href="http://sources.redhat.com/ml/systemtap/2008-q3/msg00623.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I would be really grateful to have some feedback regarding this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-4823382203466264528?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/4823382203466264528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=4823382203466264528' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/4823382203466264528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/4823382203466264528'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/09/project-discussion.html' title='Project selection'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-8638227459240012997</id><published>2008-09-15T23:29:00.000-07:00</published><updated>2008-09-16T00:12:24.117-07:00</updated><title type='text'>Adieu GSoC and DgpLUG classes; and Hola Red Hat!</title><content type='html'>Funny, the juggling ended!&lt;br /&gt;&lt;br /&gt;I remember trying my best not to miss the &lt;a href="http://wiki.dgplug.org/index.php/Main_Page"&gt;DgpLUG&lt;/a&gt; classes while struggling to meet my mid term evaluation targets. While I have been blogging about my GSoC project and its updates;  I haven't  mentioned DgpLUG  here till now. Its the Linux Users Group of Durgapur, who came up with this &lt;a href="http://wiki.dgplug.org/index.php/SummerTraining"&gt;nice initiative&lt;/a&gt; for training a  few newbies in open source technologies.  Thank you folks! It was awesome ^_^&lt;br /&gt;&lt;br /&gt;On the GSoC front, its nice to see Bootlimn have so many downloads. I admit that the progress has slowed down a bit given my classes and the recent hunt for a nice and useful project for the Red Hat internship ( yeah! I was as amazed when I was offered and I'm still trying to not sound all stupefied when I am talking about or mailing with regard to it.  ) But Bootlimn is far from dead. I'll start working on it again once I settle down with this new routine.&lt;br /&gt;&lt;br /&gt;Please do let me know what working well and whats not with bootlimn.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-8638227459240012997?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/8638227459240012997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=8638227459240012997' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/8638227459240012997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/8638227459240012997'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/09/adieu-gsoc-and-dgplug-classes-and-hola.html' title='Adieu GSoC and DgpLUG classes; and Hola Red Hat!'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-6010372384976754544</id><published>2008-09-03T04:39:00.000-07:00</published><updated>2008-09-03T20:41:56.047-07:00</updated><title type='text'>oopsey</title><content type='html'>I am terribly sorry for the multiple bloopers . The code did not get committed last time.&lt;br /&gt;Please checkout the code now.. Revision 18 is the latest.&lt;br /&gt;Sorry again --with an embarrassed look--&lt;br /&gt;&lt;br /&gt;checkout : &lt;a href="http://code.google.com/p/bootlimn/source/checkout"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Very high on my TODO... port it to Python.. we desperately need that one.. successfully running java the first time seems a miracle now when I get so many head-banging feedbacks saying java not working.&lt;br /&gt;&lt;br /&gt;Another development.  We were halfway through while trying to run it on Ubuntu today. Though we had to manually modify grub/menu.lst&lt;br /&gt;and had to struggle with java a bit. (JRE  ... *bah*)&lt;br /&gt;&lt;br /&gt;see this too : http://sourceware.org/systemtap/wiki/SystemtapOnUbuntu&lt;br /&gt;&lt;br /&gt;A request: If anyone has any problems or even if you are able to successfully run it,  please let me know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-6010372384976754544?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/6010372384976754544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=6010372384976754544' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/6010372384976754544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/6010372384976754544'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/09/oopsey.html' title='oopsey'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-7407883303527506408</id><published>2008-08-18T13:13:00.000-07:00</published><updated>2008-08-31T14:33:26.758-07:00</updated><title type='text'>I'm alive</title><content type='html'>Yes I am :D ... just in case my inactivity here raised any doubts...and I won't surprised if it did because, despite several reminders from my mentor that a blog update has been pending, I have been putting it off for the time that I have something substantial ( or .. was it my laziness? ). Now that the pencils-down date has arrived, I see no further excuse for postponing it.&lt;br /&gt;&lt;br /&gt;Since the last time..&lt;br /&gt;&lt;ul&gt;&lt;li&gt;I got my disk and CPU info without much use of guru mode code (used the queue_stats tapset.. thought had to create my own copy of it where I could change the default time unit to milliseconds instead of microseconds.  &lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt; &lt;blockquote style="color: rgb(51, 51, 51);"&gt;The tapset says..&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 51);"&gt;# qstats.stp: Queue statistics gathering tapset&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);font-size:85%;" &gt;&lt;br /&gt;# -------------------------------------------------------------------------&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);font-size:85%;" &gt;&lt;br /&gt;# The default timing function: microseconds.  This function could&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);font-size:85%;" &gt;&lt;br /&gt;# go into a separate file (say, qstats_qs_time.stp), so that a user&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);font-size:85%;" &gt;&lt;br /&gt;# script can override it with another definition.&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);font-size:85%;" &gt;&lt;br /&gt;function qs_time () { return gettimeofday_ms () }&lt;/span&gt;&lt;span style="color: rgb(51, 51, 51);font-size:85%;" &gt;&lt;br /&gt;# -------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;Till that is not done.. I might have to stick to my own copy of queue stats.&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;My renderer module is up. Even though it supports only svg for now, I'll extend it to support other formats very soon.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt; I gather per process CPU statistics which show how much system and user time they take (got this idea from bootprobe).&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;I trace sys_open  and gather statistics like which process reads/write to what file etc.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt; I also trace the blockIO (in this case I just provide a way to bring out the blockIO information as gathered by the tapset in XML format).&lt;/li&gt;&lt;/ul&gt;&lt;blockquote style="color: rgb(51, 51, 51);"&gt;&lt;span style="font-style: italic;"&gt;The idea behind tracing points 3, 4 and 5 is to have as much information as possible at least in text format so that even if it cannot be rendered (will  terribly clutter the graph if rendered), we can get as much detail as possible.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;As all the above information is timestamped, correlation is very easy.&lt;/span&gt;&lt;/blockquote&gt;&lt;ul&gt;&lt;li&gt;The bootlimn (as it has been named tentatively) installs  and uninstalls very cleanly.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt; A jar file is  packaged along with the  source code. It  can be run simply by executing  ./bootlimn.sh .&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;A build.xml (to be used with ant) is also available.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Failure of a part of bootlimn does not crash the entire application. It still tries to give as much output as possible.For example,if one of the XML files cannot be parsed, the others are not affected and neither is the renderer module unless it is *very* critical for the creation of the graph.Even if the XML generated is screwed,  the bootlimn still renders till the first occurence of improper entry.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The user can specify where to stop by changing the -c option in stpcaller.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Known bugs (Taken care of)):&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The XML created, sometimes,  has negative timestamps. (see update 3)&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The IOblock parser gives errors at times.(This again is because of the screwed XML) ( see update 1).&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;What needs more work:&lt;br /&gt;&lt;ul&gt;&lt;li&gt; All the unique processes are rendered.  The  user as of now has no control over the degree of detail.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The state transitions can be bettered.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;The CPU wait stats can also be added ( code already present in the stps, just requires slight modification  in the XSD and corresponding changes to parser and renderer.. will do it soon)&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Other formats of images to be supported.( next task at hand after debugging)&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Header information needs to be added (this will be done soon too)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;And anymore that will be suggested when the code is reviewed ( code can be checked out from &lt;a href="http://code.google.com/p/bootlimn/source/checkout"&gt;here&lt;/a&gt; ).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update 1&lt;/span&gt;: A temporary workaround is to define the sector, bdev etc fields ( which get some funny values on very rare occasion) as a String type so that just a single instance of screwed up XML does not hinder the parsing of the entire file. Not the best solution but just a temporary workaround as there is no further calculation based on these fields and the only function that uses them is a 'tostring' which converts them to a string anyway.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update 2: &lt;/span&gt;Egads!!! revision 14 is sort of broken.. I am rectifying it.. please don't checkout the code now.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Update 3: &lt;/span&gt;The negative timestamps error has been solved ***phew***. The code can now be checked out. Logging has been changed to disk as opposed to in memory (see comments for further details).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-7407883303527506408?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/7407883303527506408/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=7407883303527506408' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/7407883303527506408'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/7407883303527506408'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/08/im-alive.html' title='I&apos;m alive'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-9033689443587209846</id><published>2008-07-04T05:25:00.000-07:00</published><updated>2008-07-05T00:36:55.783-07:00</updated><title type='text'>Mid term evals!! eeks!</title><content type='html'>Quoting from my previous post "Now I &lt;span style="font-weight: bold;"&gt;just&lt;/span&gt; need to extend this structure to include the CPU and Disk info."&lt;br /&gt;&lt;br /&gt;Well.. it turned out to be anything but just.&lt;br /&gt;&lt;br /&gt;For 1, as I am not to use /proc files, that rules out passing those values to my systemtap script using command line arguments.&lt;br /&gt;So, we decided to look into the kernel code and see how those entries are filled in the first place so that we could tap the information from there itself.&lt;br /&gt;&lt;br /&gt;From there, I figured out that the files that particularly interest me are&lt;br /&gt;1. /proc/proc_misc.c&lt;br /&gt;2. /proc/array.c&lt;br /&gt;3. /block/genhd.c&lt;br /&gt;&lt;br /&gt;Then I mailed the systemtap mailing list and they pointed me to &lt;a href="http://sources.redhat.com/ml/systemtap/2007-q1/msg00485.html"&gt;this&lt;/a&gt;. It is a very interesting tapset but the following bits left me a little unsure about using it-&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Note that blktrace needs to be running in order for these scripts to&lt;br /&gt;have any effect - __blk_add_trace() and therefore the tapset probe&lt;br /&gt;isn't actually called unless tracing is active.  Of course, that means&lt;br /&gt;that you need to enable CONFIG_BLK_DEV_IO_TRACE in the kernel.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Things works fine this way, if you're careful - for some reason, if you&lt;br /&gt;don't define overrides for *all* the callback functions, *none* of them&lt;br /&gt;get called.  The same thing is apparently true wrt optimization - if any&lt;br /&gt;one of the callback functions gets optimized out, they all do.  So in&lt;br /&gt;your script, you need to define handler functions for every event type&lt;br /&gt;whether you use it or not, and furthermore the bodies of the unused&lt;br /&gt;handlers need to contain code that won't be optimized out&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Installing blktrace sounded like adding additional baggage to us. Also, I haven't tried out blktrace so I do not know how to use this and whether using it will solve my purpose. I could of course play around with it for sometime but mid term evaluations start on 7th so I probed sys_read and sys_write to count the total reads and writes, and then used guru mode to find out the number of I/O tasks pending at the moment.&lt;br /&gt;&lt;br /&gt;Yeah , I know guru mode needs to be used only when there is no other alternative . I couldn't see any. Any suggestion would be very welcome.&lt;br /&gt;&lt;br /&gt;Thankfully, it works and I have all the diskstats that I require.So far so good.&lt;br /&gt;&lt;br /&gt;But CPU information is turning out to be trickier. The variables that I require are not accessible.&lt;br /&gt;&lt;br /&gt;A &lt;span style="font-size:85%;"&gt;stap -p2 -e 'probe kernel.function("do_task_stat") {$foo}' -u&lt;/span&gt; ( A trick I learnt from fche )&lt;br /&gt;gives the alternatives as : &lt;span style="font-size:85%;"&gt;task buffer whole vsize eip esp wchan priority nice tty_pgrp tty_nr sigign sigcatch state res ppid pgid sid num_threads mm start_time cmin_flt cmaj_flt min_flt maj_flt cutime cstime utime stime cgtime gtime rsslim tcomm flags ns&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;But the variables utime, stime are defined within the function and a&lt;br /&gt;&lt;span style="font-size:85%;"&gt;stap -p2 -e 'probe kernel.function("do_task_stat") {$utime}' -u&lt;/span&gt;&lt;br /&gt;gives semantic error: &lt;span style="font-size:85%;"&gt;not accessible at this address: identifier '$utime' at &lt; input &gt; :1:40&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;I guess the only variables accessible are the parameters that are passed to the function and the return value as the probe is places at the &lt;a href="http://sourceware.org/ml/systemtap/2008-q2/msg00051.html"&gt;start of the function definition&lt;/a&gt;. and the variables I need have their values worked out inside the function and they get seq.printed from there itself .. so these values are not even returned.&lt;br /&gt;&lt;br /&gt;The kernel.statement construct is not what I can use as absolute addresses may be different on different computers.&lt;br /&gt;&lt;br /&gt;As of now .. I am trying a &lt;span style="font-weight: bold;"&gt;very very ugly&lt;/span&gt; solution..&lt;br /&gt;&lt;br /&gt;Edit 1: License stuff :D&lt;br /&gt; This program is free software; you can redistribute it and/or modify&lt;br /&gt; it under the terms of the GNU General Public License as published by&lt;br /&gt; the Free Software Foundation; version 2 of the License.&lt;br /&gt;&lt;br /&gt; This program is distributed in the hope that it will be useful,&lt;br /&gt; but WITHOUT ANY WARRANTY; without even the implied warranty of&lt;br /&gt; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the&lt;br /&gt; GNU General Public License for more details.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;%{&lt;br /&gt;#include&lt; linux/kernel_stat.h &gt;&lt;br /&gt;#include&lt; linux/sched.h &gt;&lt;br /&gt;%}&lt;br /&gt;&lt;br /&gt;function get_str_info:long(val:long)&lt;br /&gt;%{&lt;br /&gt;struct task_struct *temp = (struct task_struct*)(long)THIS-&gt;val;&lt;br /&gt;long x =(long)((temp-&gt;state &amp;amp; (0| 1 | 2 | 4| 8))| temp-&gt;exit_state);&lt;br /&gt;THIS-&gt;__retvalue = x;&lt;br /&gt;%}&lt;br /&gt;&lt;br /&gt;function get_u_info_1:long(val:long)&lt;br /&gt;%{&lt;br /&gt;struct task_struct *temp = (struct task_struct*)(long)THIS-&gt;val;&lt;br /&gt;cputime_t ut;&lt;br /&gt;long usr;&lt;br /&gt;struct signal_struct *si = temp-&gt;signal;&lt;br /&gt;struct task_struct *t = temp;&lt;br /&gt;do {&lt;br /&gt;ut = cputime_add(ut,t-&gt;utime);&lt;br /&gt;t = next_thread(t);&lt;br /&gt;} while (t != temp);&lt;br /&gt;ut = cputime_add(ut, si-&gt;utime);&lt;br /&gt;usr = (long) ut;&lt;br /&gt;THIS-&gt;__retvalue = usr;&lt;br /&gt;%}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;function get_u_info_2:long(val:long)&lt;br /&gt;%{&lt;br /&gt;struct task_struct *temp = (struct task_struct*)(long)THIS-&gt;val;&lt;br /&gt;cputime_t ut;&lt;br /&gt;long usr;&lt;br /&gt;ut = temp-&gt;utime;&lt;br /&gt;usr = (long)ut;&lt;br /&gt;THIS-&gt;__retvalue = usr;&lt;br /&gt;%}&lt;br /&gt;&lt;br /&gt;function get_s_info_1:long(val:long)&lt;br /&gt;%{&lt;br /&gt;struct task_struct *temp = (struct task_struct*)(long)THIS-&gt;val;&lt;br /&gt;long sys;&lt;br /&gt;struct signal_struct *si = temp-&gt;signal;&lt;br /&gt;struct task_struct *t = temp;&lt;br /&gt;do {&lt;br /&gt;st = cputime_add(st,t-&gt;stime);&lt;br /&gt;t = next_thread(t);&lt;br /&gt;} while (t != temp);&lt;br /&gt;st = cputime_add(st, si-&gt;stime);&lt;br /&gt;sys = (long) st;&lt;br /&gt;THIS-&gt;__retvalue = sys;&lt;br /&gt;%}&lt;br /&gt;&lt;br /&gt;function get_s_info_2:long(val:long)&lt;br /&gt;%{&lt;br /&gt;struct task_struct *temp = (struct task_struct*)(long)THIS-&gt;val;&lt;br /&gt;cputime_t st;&lt;br /&gt;long sys;&lt;br /&gt;st = temp-&gt;stime;&lt;br /&gt;sys = (long)st;&lt;br /&gt;THIS-&gt;__retvalue = sys;&lt;br /&gt;%}&lt;br /&gt;&lt;br /&gt;probe kernel.function("do_task_stat")&lt;br /&gt;{&lt;br /&gt;if ($whole)&lt;br /&gt;{&lt;br /&gt;u = get_u_info_1($task)&lt;br /&gt;s = get_s_info_1($task)&lt;br /&gt;state = get_state_info($task)&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;u = get_u_info_2($task)&lt;br /&gt;s = get_s_info_2($task)&lt;br /&gt;state= get_state_info($task)&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Of course the above code needs to be debugged for successful compilation : function get_state_info:long works but the rest need some more work ( probably due to the calls to other inline functions: next_thread()and cputime_add() within the function ). The reason I am putting up the unfinished code is because I need to know whether its worth spending time debugging it.Is it the right way to proceed?&lt;br /&gt;&lt;br /&gt;What I am basically trying to do is.. take the values of task and whole (they are passed as parameters to the function do_task_stat and hence are available. From there I calculate the variables I needed the same way as is being done inside the original function. *very ugly* but am at a loss of ideas (for now at least).&lt;br /&gt;&lt;br /&gt;Anyway, I'll just work on this today and tomorrow. If I am unable to find a better way, I guess I'll move on to the cleaning up tasks so that my Bootchart is perfectly ready with the process and disk info at least.&lt;br /&gt;&lt;br /&gt;Then I can come back to this after mid-term evaluations.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-9033689443587209846?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/9033689443587209846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=9033689443587209846' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/9033689443587209846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/9033689443587209846'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/07/mid-term-evals-eeks_04.html' title='Mid term evals!! eeks!'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-7602096608855171075</id><published>2008-06-21T12:27:00.000-07:00</published><updated>2008-06-22T01:38:46.870-07:00</updated><title type='text'>Current status of the project</title><content type='html'>Here is what I have been up to till now..&lt;br /&gt;&lt;br /&gt;I have my Bootchart prototype  finally running.&lt;br /&gt;&lt;br /&gt;What all do I have till now?&lt;br /&gt;&lt;br /&gt;1. An install script.&lt;br /&gt;2. A shell script that runs instead of init, runs my systemtap script and then calls init.&lt;br /&gt;3. My systemtap script,  of course that does the probing for me and gathers the process info and &lt;a href="http://satyak.fedorapeople.org/processlog.xml"&gt;outputs it in XML format&lt;/a&gt;.&lt;br /&gt;4. A script that calls my parser and saves the &lt;a href="http://satyak.fedorapeople.org/parsed.txt"&gt;text output&lt;/a&gt; ( the renderer is to be built after mid-term evaluation)&lt;br /&gt;5. A java parser that parses the XML output using the SAX interfaces.&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;log xmlns="http://www.bootchart.com" xsi="http://www.w3.org/2001/XMLSchema-instance" schemalocation="file:///home/satsiv/bootchart/src/processlog.xsd"&gt;&lt;process&gt;&lt;pexecname&gt;&lt;/pexecname&gt;&lt;/process&gt;&lt;/log&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;The parsed text-mode output looks like:&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;No of Processes '1249'.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Process Details - Time1214080512744, Pid451, PPid:450, Execname:sh,Probefunc:sys_execve,Pexecname:stapio.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Process Details - Time1214080516148, Pid1, PPid:0, Execname:init,Probefunc:sys_execve,Pexecname:swapper.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Process Details - Time1214080516167, Pid454, PPid:453, Execname:init,Probefunc:sys_execve,Pexecname:init.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Process Details - Time1214080516203, Pid455, PPid:454, Execname:rc.sysinit,Probefunc:sys_execve,Pexecname:rc.sysinit.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;......&lt;br /&gt;Note: Processes are not unique.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Now I just need to extend this structure to include the CPU and Disk info.&lt;br /&gt;&lt;br /&gt;Another thing I'd like to mention, mounting a temporary file system is necessary even if I log in memory and dump the output in a file at the end of probing. A 'probe end {//do the logging in file }' results in a read-only file-system error&lt;br /&gt;even though you not writing to the file till the system is up.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-7602096608855171075?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/7602096608855171075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=7602096608855171075' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/7602096608855171075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/7602096608855171075'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/06/here-is-what-i-have-been-up-to-till-now.html' title='Current status of the project'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-6587385414640104156</id><published>2008-06-05T12:33:00.000-07:00</published><updated>2008-06-05T13:33:19.365-07:00</updated><title type='text'>quick update</title><content type='html'>okay.. so I coded the XML parser to retrieve the Process information using SAX interface.. (suits my purpose better than DOM)..&lt;br /&gt;&lt;br /&gt;I need to modify the renderer to use this now.. and then integrate it to bootchartd.. then 1/3 of my project will be done.. or so I hope.&lt;br /&gt;&lt;br /&gt;Writing a mail to my mentor now... will put up details later.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-6587385414640104156?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/6587385414640104156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=6587385414640104156' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/6587385414640104156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/6587385414640104156'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/06/quick-update.html' title='quick update'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-2192019149481960472</id><published>2008-05-31T14:16:00.000-07:00</published><updated>2008-05-31T16:06:43.104-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Bootchart'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora Project'/><category scheme='http://www.blogger.com/atom/ns#' term='GSoC'/><title type='text'>scribbling away</title><content type='html'>After half a week of trying to figure out and being worried that I'll seriously fall behind, things are much brighter now :)&lt;br /&gt;&lt;br /&gt;I have finally figured out what all information is required.&lt;br /&gt;Gathering process information is the simple part. We have pre-defined functions for it:we can probe the sys_fork() and the sys_execve() and sys_exit()  (though I still wonder why vfork() and clone() cannot be probed) and use the pre-defined functions there like pid() etc.It was the disk throughput, CPU utilisation part which was a little confusing..I do have some ideas how to implement,  not sure if they work though.&lt;br /&gt;&lt;br /&gt;1.was thinking of using the processor queue , disk queue for it and use the qsq_ functions. They'll probably point out the bottlenecks very clearly,say if the number of processes waiting is large.This, from the tasks waiting point of view.&lt;br /&gt;&lt;br /&gt;2.Or, to look at it from the CPU and disk point of view, we could probe the kernel inline functions like idle_balance  etc.&lt;br /&gt;&lt;br /&gt;One more thing, one hint that my mentor gave, logging in memory is  better option than logging to a file at bootup.&lt;br /&gt;&lt;br /&gt;But anyway,  my deadline is 11th June  so I can very well experiment with these ideas.&lt;br /&gt;&lt;br /&gt;I am really happy to &lt;span style="font-weight: bold;"&gt;finally &lt;/span&gt;get to the coding part :) Wrote a script that returns the process information (pid, ppid, execname, pexecname ) whenever a new process is created.Trivial but still... its code!! Once I am able to implement the CPU and Disk info part, I can modify the bootchartd )&lt;br /&gt;&lt;br /&gt;p.s Just realised the parent child relationship can be shown easily in the bootchart.. but that comes later in the rendering phase&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-2192019149481960472?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/2192019149481960472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=2192019149481960472' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/2192019149481960472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/2192019149481960472'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/05/scribbling-away.html' title='scribbling away'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-1002584517206447103</id><published>2008-05-22T07:36:00.000-07:00</published><updated>2008-05-22T07:59:40.951-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Bootchart'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora Project'/><category scheme='http://www.blogger.com/atom/ns#' term='GSoC'/><title type='text'>Follow up on the mail</title><content type='html'>Thanks &lt;a href="http://www.harald-hoyer.de/author/harald"&gt;Mr. Herald Hoyer&lt;/a&gt; for the very prompt reply:)&lt;br /&gt;hmm.. so these ideas go into my TODO too&lt;br /&gt;&lt;br /&gt;- possibility to bootchart what happens in initrd&lt;br /&gt;- easily configure the "stop" marker&lt;br /&gt;- automatic image generation with date and time in the name&lt;br /&gt;- determine how fine grained the image is (show only processes with at least x milliseconds, do not show kernel threads)&lt;br /&gt;&lt;br /&gt;I'll try to implement them in the best possible manner&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-1002584517206447103?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/1002584517206447103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=1002584517206447103' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/1002584517206447103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/1002584517206447103'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/05/follow-up-on-mail.html' title='Follow up on the mail'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-8058171264411411114</id><published>2008-05-21T19:50:00.000-07:00</published><updated>2008-12-09T20:35:49.536-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Bootchart'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora Project'/><category scheme='http://www.blogger.com/atom/ns#' term='GSoC'/><title type='text'>progress so far...</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_GAhVh-SkeaI/SDTsdy8iu0I/AAAAAAAAAH8/m4W5Vzo3vlU/s1600-h/bootchart2+.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_GAhVh-SkeaI/SDTsdy8iu0I/AAAAAAAAAH8/m4W5Vzo3vlU/s400/bootchart2+.png" alt="" id="BLOGGER_PHOTO_ID_5203043466155834178" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The last time I blogged about my project was like a month ago.. so its time for some serious documentation..&lt;br /&gt;&lt;br /&gt;Done with the &lt;a href="http://sourceware.org/systemtap/tutorial/systemtap.html"&gt;SystemTap tutorials,&lt;/a&gt; and halfway through the &lt;a href="http://sourceware.org/systemtap/langref/langref.html"&gt;language reference&lt;/a&gt; (further progress will be made as and when required by the project.. as of now... this suffices..).&lt;br /&gt;&lt;br /&gt;Done with the git (&lt;a href="http://www.kernel.org/pub/software/scm/git/docs/tutorial.html"&gt;this&lt;/a&gt; and &lt;a href="http://www.kernel.org/pub/software/scm/git/docs/everyday.html"&gt;this&lt;/a&gt;). The git repository for the Bootchart is &lt;a href="http://git.kernel.org/?p=linux/kernel/git/eugeneteo/bootchart.git;a=summary"&gt;here&lt;/a&gt; and ill be submitting my patches to my &lt;a href="http://www.kernel.sg/roller/eugene/"&gt;mentor&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Finished reading through/analyzing the current Bootchart code. The  results of the analysis phase are as shown above (uploading on blogger for the first time... dunno whether it will be readable...)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Well... I had it bad trying to represent Bootchart in a single root no crosslinks manner (the only structure that freemind supports..as far as I know ) .. and ah yeah... me used it for the first time yesterday :| But its cool...&lt;br /&gt;&lt;br /&gt;Hmm.. another digression... I was wondering if there was a way to upload files without actually owning a host or domain...&lt;br /&gt;(had put up this doubt on an IRC... but I guess I made such a pathetic choice of words that it was interpreted as how to upload pics in your blog....not a really bad option but would have loved to have let everyone see the cool folding and unfolding in the .mm files :) and also .. that way I would have been able to use it anywhere.. ) but I was told nopes.. no way.. you cannot do that unless its just text or code.. (in which case I could have gone for pastebin.. thanks General..)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Back to documentation...These are general, non-verified ideas  that ill try out and see if they work...&lt;br /&gt;&lt;br /&gt;while I was reading that code... I realized that the script directory (that contains bootchart, bootchartd and bootchartd.conf) will be the one that I need to replace using systemtap ... (the conversion from polling to probing happens here).The parsing  and the rendering will be conceptually the same.. (maybe I can reuse some portions).. just that ill need to change the format to a standard XML format for which  ill have to design the XML format 1st.&lt;br /&gt;&lt;br /&gt;Oh and yeah.. my mentor sent me a link to the &lt;a href="http://fedoraproject.org/wiki/Features/30SecondStartup"&gt;30SecondStartup&lt;/a&gt; project./me is just mailing them to see if they would like to have some additional metrics showing up in the Bootchart.. will be awesome if this project is of some use to them :)&lt;br /&gt;Looking forward to everything that GSoC would be :)&lt;br /&gt;&lt;br /&gt;and /me needs sleep :( signing off ....**yawn**&lt;br /&gt;&lt;br /&gt;Oh and I forgot.. GSoC -India informal meet-up will be held on the 8th of June in Delhi :)&lt;br /&gt;Will be terrific..meeting all other GSoC students :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-8058171264411411114?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/8058171264411411114/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=8058171264411411114' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/8058171264411411114'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/8058171264411411114'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/05/progress-so-far.html' title='progress so far...'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_GAhVh-SkeaI/SDTsdy8iu0I/AAAAAAAAAH8/m4W5Vzo3vlU/s72-c/bootchart2+.png' height='72' width='72'/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-2193902094710127041</id><published>2008-04-30T06:32:00.000-07:00</published><updated>2008-07-06T05:39:36.255-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='random stuff'/><title type='text'>A thing of beauty ..</title><content type='html'>&lt;a href="http://picasaweb.google.co.in/satya.komaragiri/AwesomePics"&gt;They&lt;/a&gt; made me realize I am alive after 3 hours of DSP :o&lt;br /&gt;&lt;br /&gt;Aaaah now someone help me stop staring at them and get back to work :|&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-2193902094710127041?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/2193902094710127041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=2193902094710127041' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/2193902094710127041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/2193902094710127041'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/04/thing-of-beauty-is-joy-forever.html' title='A thing of beauty ..'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-8244282492293817320</id><published>2008-04-23T03:42:00.000-07:00</published><updated>2008-04-23T04:20:05.794-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GSoC'/><title type='text'>yippie dippy doo :)</title><content type='html'>I got accepted as a student in GSoC :)&lt;br /&gt;Feels awesome :)&lt;br /&gt;&lt;br /&gt;The vivas  and the practicals are going fine too ( for a change, phew!)&lt;br /&gt;&lt;br /&gt;Hmm.. now that I'm finished with my celebrations.. its time for work now .&lt;br /&gt;&lt;br /&gt;Oh I forgot to mention.. I have my Bootchart up ( that was supposed to be the 'update 2' but anyway) and I have been playing around with SystemTap; it  is working fine too.&lt;br /&gt;&lt;br /&gt;Next, as per the time line I need to learn git, JAXP and start exploring BootChart and figure out what additional metrics can be added. I am supposed to be done with it by the 12th of May.. so run.. run..run.&lt;br /&gt;&lt;br /&gt;Installing git now.. and then ill look for some good tutorials on it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-8244282492293817320?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/8244282492293817320/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=8244282492293817320' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/8244282492293817320'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/8244282492293817320'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/04/yippie-dippy-doo.html' title='yippie dippy doo :)'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-393072334369294785</id><published>2008-04-15T11:10:00.000-07:00</published><updated>2008-04-15T11:17:00.975-07:00</updated><title type='text'>update 1..post scriptum</title><content type='html'>Oh! i just came back to add that now i &lt;span style="font-style: italic;"&gt;finally &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;know &lt;/span&gt;why command line is much more powerful than GUI.&lt;br /&gt;&lt;br /&gt;Ah and yes .. installing a package using yum is &lt;span style="font-style: italic;"&gt;waaaay &lt;/span&gt;better than googling out, downloading and installing ( an obvious fact for most people out here but for me anything learnt for the first time by direct experience is worth blogging ;) )&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-393072334369294785?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/393072334369294785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=393072334369294785' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/393072334369294785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/393072334369294785'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/04/update-1post-scriptum.html' title='update 1..post scriptum'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-8678473301089586932</id><published>2008-04-15T10:04:00.000-07:00</published><updated>2008-04-15T10:49:47.744-07:00</updated><title type='text'>Update 1</title><content type='html'>My first real attempt to blog about my project.&lt;br /&gt;Well, after fixing my computer finally, I have graduated to  stuff that is directly related to the project.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Milestone 1&lt;/span&gt;. Installed SystemTap successfully with Eugene's help. Had to install kernel-debuginfo , kernel-debuginfo-common and  kernel-devel&lt;br /&gt;(I was unable to find version 2.6.24.4-64, could only find 2.6.23.15-137 for kernel-debuginfo-common initially which was creating problems ) .&lt;br /&gt;&lt;br /&gt;Anyway, its done and now I also see 2.6.24.4-64 on http://rpmfind.net/linux/rpm2html/search.php?query=kernel-debuginfo-common.&lt;br /&gt;&lt;br /&gt;Downloaded Bootchart. Will fiddle with it later :) Update 2 will feature that most probably&lt;br /&gt;Currently trying to run some small scripts following the tutorials :)&lt;br /&gt;&lt;br /&gt;Aah thats it for now..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-8678473301089586932?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/8678473301089586932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=8678473301089586932' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/8678473301089586932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/8678473301089586932'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/04/update-1.html' title='Update 1'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-3420361853366758272</id><published>2008-04-14T03:07:00.000-07:00</published><updated>2008-04-14T03:45:56.158-07:00</updated><title type='text'>This past week</title><content type='html'>Well... to summarize the happenings of this week...&lt;br /&gt;&lt;br /&gt;1. I had my mid sems (part II )&lt;br /&gt;And the reason they are so special is not because I worked hard, did well and now deserve a break... its just that they usually serve as a reminder that I know absolutely nothing and my end-sems are hardly 3 weeks away :( (and yeah count the internal pracs and the external pracs too ..  they start this week  GOSH!!!!!!!!!!!!!!1)&lt;br /&gt;&lt;br /&gt;2. I finally settled my computer issues :D&lt;br /&gt;The solution: both the operating systems are on the primary hard disk .. so neither of them is cribbing..&lt;br /&gt;All the data is on the external hard disk..so it is safe considering the weird experiments I am trying out on my poor comp.&lt;br /&gt;&lt;br /&gt;As it turns out : A Windows recovery first creates a recovery partition (the first 1 and is called D:  :|)&lt;br /&gt;and then re-installs itself on C:... (quite odd the naming system though)&lt;br /&gt;&lt;br /&gt;The GRUB somehow could not figure that out and kept trying to boot from D: (as it was hd0,0) when the others option was selected.&lt;br /&gt;&lt;br /&gt;All that was required was to change the menu.lst's "other" option to (hd0,1)... thats it and it took soooo long :( and some remote assistance from a kind guy.&lt;br /&gt;&lt;br /&gt;Next , I realized that my network settings were screwed up.&lt;br /&gt;That again took a lot more time than was actually required.. (I just wish I paid attention in CN classes )... don't ask me what did I do? Just kept fiddling with &lt;span style="font-weight: bold;"&gt;everything&lt;/span&gt; ... all the network settings  till it was fixed and now I don't know &lt;span style="font-weight: bold;"&gt;exactly&lt;/span&gt; what fixed it..&lt;br /&gt;&lt;br /&gt;Okay... now that its done.... my computer is running a yum update....which will be followed by SystemTap and Bootchart installations ...&lt;br /&gt;&lt;br /&gt;Hmph...&lt;br /&gt;&lt;br /&gt;/ me also makes a note to complete my files today :(&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-3420361853366758272?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/3420361853366758272/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=3420361853366758272' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/3420361853366758272'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/3420361853366758272'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/04/this-past-week.html' title='This past week'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-3266016614248376812</id><published>2008-03-30T08:37:00.000-07:00</published><updated>2008-03-30T08:44:41.997-07:00</updated><title type='text'>Baby steps :)</title><content type='html'>Hmm .. well.. i installed fedora *Successfully*  after some initial hiccups (grub loading .... error 15... phew!!! )&lt;br /&gt;coincidentally... today was my first stint with hardware repair  too ( you wont find it &lt;span style="font-weight: bold;"&gt;that &lt;/span&gt;big ... but to me yeah it was a &lt;span style="font-style: italic;"&gt;big deal&lt;/span&gt; .)&lt;br /&gt;&lt;br /&gt;Next is mission python and SystemTap :D&lt;br /&gt;&lt;br /&gt;me feeling aaawweessoommeeeee :P&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-3266016614248376812?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/3266016614248376812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=3266016614248376812' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/3266016614248376812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/3266016614248376812'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/03/baby-steps.html' title='Baby steps :)'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3835450307118836937.post-1862962046430631655</id><published>2008-03-27T00:47:00.000-07:00</published><updated>2008-03-30T11:55:43.527-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Bootchart'/><category scheme='http://www.blogger.com/atom/ns#' term='Fedora Project'/><category scheme='http://www.blogger.com/atom/ns#' term='GSoC'/><title type='text'>Introduction</title><content type='html'>Hello  everyone!&lt;br /&gt;&lt;br /&gt;Hi, this is Satya. Well.... I'm finally blogging !!!!&lt;br /&gt;&lt;br /&gt;Hmm to get to the point.. I plunged into the Open Source movement full on (details coming up in the later half....) and I am applying for the Google Summer of Code ( whoa!!!!).&lt;br /&gt;&lt;br /&gt;I intend to work on a cool Fedora project which involves implementing Bootchart using SystemTap,  gather the system information in XML format,  write a parser for the same and then render it.  We'll also look out for what additional information can be extracted to make the Bootchart more useful.  We'll also make it more flexible by allowing the users to control the stop point of the probing  ( I'll publish my application a little later )....&lt;br /&gt;&lt;br /&gt;So.. this blog is intended to keep a record of my involvement in the Open Source generally (cool), track my project development (okaaaay) and allow my mentor (that is.. if I get the project) to keep an eye on me :-|&lt;br /&gt;&lt;br /&gt;Hmm... before I end my first post..&lt;br /&gt;&lt;br /&gt;Here are the names of a few people you'll probably come across a million times when you read my blog...&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.kernel.sg/roller/eugene/"&gt;Mr. Eugene Teo&lt;/a&gt;: my 'probable' mentor for the project (&lt;span style="font-weight: bold;"&gt;and&lt;/span&gt; the person who is making &lt;span style="font-style: italic;"&gt;me&lt;/span&gt;&lt;span style="font-style: italic;"&gt;   &lt;span style="font-weight: bold;"&gt;blog&lt;/span&gt;!!!!&lt;/span&gt;). He has been a very sweet and patient guide.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bheekly.blogspot.com/"&gt;Nirbheek&lt;/a&gt;: an Open Source fanatic who passed the bug on to me (and who has been very patiently solving all my technical queries..)&lt;br /&gt;&lt;br /&gt;Runa, Aneesha and Ankita: the very sweet people at Linuxchix  who were very helpful in getting me started and are always willing to help....&lt;br /&gt;&lt;br /&gt;Man! with so much support...I am sure ill be able to get this done!!!!!&lt;br /&gt;&lt;br /&gt;now lets hope... &lt;span style="font-style: italic;"&gt;fingers crossed......&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3835450307118836937-1862962046430631655?l=meworkstoo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://meworkstoo.blogspot.com/feeds/1862962046430631655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3835450307118836937&amp;postID=1862962046430631655' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/1862962046430631655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3835450307118836937/posts/default/1862962046430631655'/><link rel='alternate' type='text/html' href='http://meworkstoo.blogspot.com/2008/03/introduction.html' title='Introduction'/><author><name>satya</name><uri>http://www.blogger.com/profile/10005139170309584272</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry></feed>
