<?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-6368968012319543490</id><updated>2011-08-01T09:59:32.591-05:00</updated><category term='Solaris'/><category term='activemq'/><category term='java'/><category term='Linux'/><category term='tech tips'/><category term='soa'/><category term='servicemix'/><title type='text'>Gandeev Blog</title><subtitle type='html'>thoughts.. rants.. and everything in between</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gandeev.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6368968012319543490/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://gandeev.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Suresh Avadhanula</name><uri>http://www.blogger.com/profile/08539756717320377289</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>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6368968012319543490.post-3398966716321110766</id><published>2008-09-24T01:20:00.005-05:00</published><updated>2008-09-24T01:27:04.836-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><category scheme='http://www.blogger.com/atom/ns#' term='tech tips'/><category scheme='http://www.blogger.com/atom/ns#' term='Solaris'/><title type='text'>System info in solaris and linux</title><content type='html'>If you work for a non microsoft shop, its highly likely that you would develop and/or deploy your applications in linux or solaris systems.  Our windows to the target system is the ubiquitous command line via ssh.  Here are some of the commands that I find useful to get the details of target system. &lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;i&gt;Solaris commands&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;Hardware deatails&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;Processor                &lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt;/usr/sbin/psrinfo -v&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;Memory                  &lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt;/usr/sbin/prtconf -v | grep Memory&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;    HD                          &lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt;/usr/sbin/format &amp;lt; /dev/null&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;Current statistics&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;memory statistics&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt;     /usr/bin/vmstat&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;io statistics&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt;                /usr/bin/iostat&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;network statistics&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt;    /usr/bin/netstat&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;disk space usage      &lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt;/usr/sbin/df&lt;br /&gt;&lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;Process details&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt; list of processes running     &lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt;/usr/bin/ps -aef&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt; memory usage for a given process&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt;     /usr/bin/pmap &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt;processid&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt; | grep total&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;    &lt;/span&gt;list of ports open for a given process&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;       &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt;/usr/proc/bin/pfiles &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt;processId  &lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt;| grep "port: &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);"&gt;portId"&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt; I have listed only the commands. A simple google or map page should give you details about each of the command.  I will follow it up with Linux command later. &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6368968012319543490-3398966716321110766?l=gandeev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gandeev.blogspot.com/feeds/3398966716321110766/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6368968012319543490&amp;postID=3398966716321110766' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6368968012319543490/posts/default/3398966716321110766'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6368968012319543490/posts/default/3398966716321110766'/><link rel='alternate' type='text/html' href='http://gandeev.blogspot.com/2008/09/system-info-in-solaris-and-linux.html' title='System info in solaris and linux'/><author><name>Suresh Avadhanula</name><uri>http://www.blogger.com/profile/08539756717320377289</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-6368968012319543490.post-1001155243514332638</id><published>2008-09-22T23:01:00.021-05:00</published><updated>2008-09-22T23:50:57.489-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='activemq'/><category scheme='http://www.blogger.com/atom/ns#' term='soa'/><category scheme='http://www.blogger.com/atom/ns#' term='servicemix'/><title type='text'>ServiceMix 3.2.1 with ActiveMQ 4.1 Gotchas</title><content type='html'>We have using servicemix for last  year or so. So far the results have been mixed. The most important downside is being activemq.  One of my initial draw to servicemix was activemq and its seda flow support.  ActiveMQ has been mediocre at best in our situation. I would list some of the gotchas and how we came across it.&lt;br /&gt;&lt;br /&gt;When you have mulitple  fast publishers and slow subscribers activemq sometimes freezes up.  This becomes all the more common if a subscriber did not close the connection gracefully.  The reason is activemq's internal memory cache that stores the messages untile a subscriber has successfuly received the messaged. The memory cache is set to 20MB by default.  If the memory cache runs out of space, the broker freezes up as all the threads wait on the cache to release some space, which does not happen in case of faulty subscriber.&lt;br /&gt;&lt;br /&gt;You can increase the cache size by setting activemq' usagemessage size in bytes as follows.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&amp;lt;amq:broker id="hub" useShutdownHook="false" useJmx="false" persistent="false" brokerName="hub" &amp;gt;&lt;br /&gt;....&lt;br /&gt;&lt;br /&gt;    &amp;lt;!-- set limit to 200mb --&amp;gt;&lt;br /&gt;        &amp;lt;amq:memoryManager  &amp;gt;&lt;br /&gt;            &amp;lt;amq:usageManager limit="209657600"/&amp;gt;&lt;br /&gt;        &amp;lt;/amq:memoryManager&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/amq:broker&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6368968012319543490-1001155243514332638?l=gandeev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gandeev.blogspot.com/feeds/1001155243514332638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6368968012319543490&amp;postID=1001155243514332638' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6368968012319543490/posts/default/1001155243514332638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6368968012319543490/posts/default/1001155243514332638'/><link rel='alternate' type='text/html' href='http://gandeev.blogspot.com/2008/09/servicemix-321-with-activemq-41-gotchas.html' title='ServiceMix 3.2.1 with ActiveMQ 4.1 Gotchas'/><author><name>Suresh Avadhanula</name><uri>http://www.blogger.com/profile/08539756717320377289</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-6368968012319543490.post-8289760588133759633</id><published>2007-11-05T14:24:00.000-06:00</published><updated>2007-11-05T14:26:29.685-06:00</updated><title type='text'>CAFEBABE: A vote for Java 6 on the Mac</title><content type='html'>&lt;a href="http://blogs.sun.com/bblfish/entry/vote_for_java6_on_leopard"&gt;&lt;pre&gt;13949712720901ForOSX&lt;/a&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6368968012319543490-8289760588133759633?l=gandeev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gandeev.blogspot.com/feeds/8289760588133759633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6368968012319543490&amp;postID=8289760588133759633' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6368968012319543490/posts/default/8289760588133759633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6368968012319543490/posts/default/8289760588133759633'/><link rel='alternate' type='text/html' href='http://gandeev.blogspot.com/2007/11/cafebabe-vote-for-java-6-on-mac.html' title='CAFEBABE: A vote for Java 6 on the Mac'/><author><name>Suresh Avadhanula</name><uri>http://www.blogger.com/profile/08539756717320377289</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-6368968012319543490.post-8611048007021943999</id><published>2006-11-03T17:29:00.000-06:00</published><updated>2006-11-03T21:02:19.522-06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux'/><title type='text'>Ubuntu on T43.</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/4290/777461915566350/1600/Screenshot.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/4290/777461915566350/320/Screenshot.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I have been using Linux for number for years starting with &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;slackware&lt;/span&gt; and moving on to &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;Redhat&lt;/span&gt; for a while landing on Debian and its derivative &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;ubuntu&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;I have always used Linux on desktops and servers. Its time to use it on my laptops too. I decided to install &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;ubuntu&lt;/span&gt; edgy &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;eft&lt;/span&gt; ( that's  version 6.10 if you are not keeping track of the codename for the releases )   on my T43 couple of days ago. To my pleasant surprise, everything worked out of the box. Well almost everything.&lt;br /&gt;&lt;br /&gt;It recognized native resolution of 1400x1050. All the function keys, volume buttons, &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;trackpoint&lt;/span&gt;, &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;WiFi&lt;/span&gt; card, sound card were recognized out of the box.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://thinkwiki.org/wiki/Installing_Ubuntu_6.06_on_a_ThinkPad_T43"&gt;&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;ThinkWiki&lt;/span&gt;&lt;/a&gt; is good resource for all your &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;linux&lt;/span&gt; compatibility questions.&lt;br /&gt;&lt;br /&gt;I still have to get my Fingerprint Reader and Hard disk's Active Protection System running. Except for &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;APS&lt;/span&gt;, I am not very keen on getting Finger Print Reader working.&lt;br /&gt;&lt;br /&gt;Overall it look me less than 20 minutes to install Linux on &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;Thinkpad&lt;/span&gt;. &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;Thats&lt;/span&gt; less than the time I spent configuring Windows &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;XP&lt;/span&gt; Profession when I bought my laptop.&lt;br /&gt;&lt;br /&gt;So if you are like me, waiting for the right time to install &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;linux&lt;/span&gt; on your laptops, thanks to &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;Ubuntu&lt;/span&gt;, now is the time.&lt;br /&gt;&lt;br /&gt;I am not going to review &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;Ubuntu&lt;/span&gt; 6.10 here. Every &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;linux&lt;/span&gt; site worth its salt has detailed review along with installation procedure. The only note I would like to add is that you can download Eclipse 3.2 via apt. I am still a &lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;emacs&lt;/span&gt; guy but its good to know that you are just  &lt;span style="font-style: italic; color: rgb(0, 0, 153);"&gt;"&lt;span onclick="BLOG_clickHandler(this)" class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;sudo&lt;/span&gt; apt-get install eclipse"   &lt;/span&gt;away&lt;br /&gt;&lt;span style="font-style: italic; color: rgb(0, 0, 153);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6368968012319543490-8611048007021943999?l=gandeev.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gandeev.blogspot.com/feeds/8611048007021943999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6368968012319543490&amp;postID=8611048007021943999' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6368968012319543490/posts/default/8611048007021943999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6368968012319543490/posts/default/8611048007021943999'/><link rel='alternate' type='text/html' href='http://gandeev.blogspot.com/2006/11/ubuntu-on-t43.html' title='Ubuntu on T43.'/><author><name>Suresh Avadhanula</name><uri>http://www.blogger.com/profile/08539756717320377289</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></feed>
