<?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-8818498</id><updated>2012-02-10T02:30:45.700+05:30</updated><title type='text'>retheesh</title><subtitle type='html'>Welcome to my page. I am not an avid writer, but i am trying. Here you will find some of the fine snippets i came across which i would like to revisit given a chance. Some of the technical troublshooting which i encountered, which i would like to maintain here as ready reckoner. Please feel free to go around my pages. Bouquets and Brickbats are welcomed. :-)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>84</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8818498.post-8844735391702117632</id><published>2011-12-15T12:11:00.003+05:30</published><updated>2011-12-15T12:24:24.558+05:30</updated><title type='text'>Recover files deleted in linux</title><content type='html'>&lt;span style="font-family:verdana;font-size:100%;"&gt;If any files accidentally deleted and needs to be recovered. First look in lost+found folder.&lt;br /&gt;If not found follow the below steps.&lt;br /&gt;&lt;br /&gt;Mount the filesystem in read only to avoid any rewrites on the disk block&lt;br /&gt;        # mount -o remount ro /dev/sdx /mntpoint.&lt;br /&gt;&lt;br /&gt;If the partition is a root filesystem - Boot the server in single user mode&lt;br /&gt;       # init 1&lt;br /&gt;&lt;br /&gt;To recover a text file you can use grep command to recover the contents. For this you need to know any uniq word from the deleted file - Preferably the start of the file.&lt;br /&gt;grep -a -B2 -A1000 'uniq_word' /dev/sdx &amp;gt; /tmp/filerecovered.txt&lt;br /&gt;&lt;br /&gt;It means 2lines before the uniq_word found and 1000lines after the uniq_word found from the filesystem and save the content into filerecovered file. (ensure the destination folder is read-write mode.&lt;br /&gt;===================&lt;br /&gt;Recover other types of files&lt;br /&gt;&lt;br /&gt;Use package &lt;a href="http://www.howtoforge.com/recover-deleted-files-with-foremost"&gt;&lt;span style="font-weight: bold; color: rgb(0, 153, 0);"&gt;foremost&lt;/span&gt;&lt;/a&gt; There is an excellent article published in howtoforge portal.&lt;br /&gt;                                                                               &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&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/8818498-8844735391702117632?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/8844735391702117632/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=8844735391702117632' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8844735391702117632'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8844735391702117632'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2011/12/recover-files-deleted-in-linux.html' title='Recover files deleted in linux'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-1176716118410729249</id><published>2011-12-09T12:12:00.003+05:30</published><updated>2011-12-09T12:15:38.096+05:30</updated><title type='text'>check the disk space availablity</title><content type='html'>&lt;span style="font-family:arial;font-size:100%;"&gt;Script to check the disk space and mail if the disk space availablity is below the warning or critical thresholds&lt;br /&gt;&lt;br /&gt;### Variable declaration ####&lt;br /&gt;WARN=75&lt;br /&gt;CRITICAL=77&lt;br /&gt;ADMINI_LABS="useremailaccount"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;#### Collecting Disk space information #####&lt;br /&gt;df -h |grep -vE 'tmpfs|Filesystem|cdrom'|awk '{print $5 " " $6}' &amp;gt; /tmp/disksize&lt;br /&gt;&lt;br /&gt;while read output; do&lt;br /&gt;       diskusage=$(echo $output|awk '{print $1}' |cut -d% -f1 )&lt;br /&gt;       filesystem=$(echo $output |awk '{print $2}' )&lt;br /&gt;               if [ $diskusage -ge $WARN ] &amp;amp;&amp;amp; [ $diskusage -le $CRITICAL ]; then&lt;br /&gt;                       mail -s"WARNING: $(hostname) : Running out of space $filesystem $diskusage" $ADMIN_ILABS&lt;br /&gt;               elif [ $diskusage -ge $CRITICAL ]; then&lt;br /&gt;                       mail -s "CRITICAL: $(hostname) : Running out of space $filesystem $diskusage" $ADMIN_ILABS&lt;br /&gt;               fi&lt;br /&gt;done &amp;lt; /tmp/disksize&lt;br /&gt;&lt;br /&gt;## File Clean up ##&lt;br /&gt;rm -f /tmp/disksize&lt;br /&gt;&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/8818498-1176716118410729249?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/1176716118410729249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=1176716118410729249' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/1176716118410729249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/1176716118410729249'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2011/12/check-disk-space-availablity.html' title='check the disk space availablity'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-2331335183842986866</id><published>2011-11-08T13:53:00.003+05:30</published><updated>2011-11-08T13:58:35.775+05:30</updated><title type='text'>Using CURL to get secure website information.</title><content type='html'>Create cookie jar for the URL login&lt;br /&gt;&lt;br /&gt;curl -k --cookie-jar cjar --output /dev/null \&lt;br /&gt;                     https://IPADDR/login&lt;br /&gt;&lt;br /&gt;Passing the login credits to the site for fetching the information.&lt;br /&gt;curl -k --cookie cjar --cookie-jar cjar \&lt;br /&gt;                     --data 'username=USERNAME' \&lt;br /&gt;                      --data 'password=PWD' \&lt;br /&gt;                      --data 'form=login' \&lt;br /&gt;                      --data 'action:Login=Login' \&lt;br /&gt;                      --location \&lt;br /&gt;                      --output /tmp/loginresutl.html \&lt;br /&gt;                      https://IPADDR/login&lt;br /&gt;&lt;br /&gt;Get the Secure Ironport information using the curl command using the cookie jar.&lt;br /&gt;curl -l --cookie cjar \&lt;br /&gt;                      --output /tmp/ironport_system_status.html \&lt;br /&gt;                      https://IPADDR/monitor/reports/system_status&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:trackmoves/&gt;   &lt;w:trackformatting/&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:donotpromoteqf/&gt;   &lt;w:lidthemeother&gt;EN-US&lt;/w:LidThemeOther&gt;   &lt;w:lidthemeasian&gt;X-NONE&lt;/w:LidThemeAsian&gt;   &lt;w:lidthemecomplexscript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;    &lt;w:splitpgbreakandparamark/&gt;    &lt;w:dontvertaligncellwithsp/&gt;    &lt;w:dontbreakconstrainedforcedtables/&gt;    &lt;w:dontvertalignintxbx/&gt;    &lt;w:word11kerningpairs/&gt;    &lt;w:cachedcolbalance/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;   &lt;m:mathpr&gt;    &lt;m:mathfont val="Cambria Math"&gt;    &lt;m:brkbin val="before"&gt;    &lt;m:brkbinsub val="--"&gt;    &lt;m:smallfrac val="off"&gt;    &lt;m:dispdef/&gt;    &lt;m:lmargin val="0"&gt;    &lt;m:rmargin val="0"&gt;    &lt;m:defjc val="centerGroup"&gt;    &lt;m:wrapindent val="1440"&gt;    &lt;m:intlim val="subSup"&gt;    &lt;m:narylim val="undOvr"&gt;   &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"&gt;   &lt;w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"&gt;   &lt;w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"&gt;   &lt;w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 1"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 2"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 3"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 4"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 5"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 6"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 7"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 8"&gt;   &lt;w:lsdexception locked="false" priority="39" name="toc 9"&gt;   &lt;w:lsdexception locked="false" priority="35" qformat="true" name="caption"&gt;   &lt;w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"&gt;   &lt;w:lsdexception locked="false" priority="1" name="Default Paragraph Font"&gt;   &lt;w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"&gt;   &lt;w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"&gt;   &lt;w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"&gt;   &lt;w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" unhidewhenused="false" name="Revision"&gt;   &lt;w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"&gt;   &lt;w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"&gt;   &lt;w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"&gt;   &lt;w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"&gt;   &lt;w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"&gt;   &lt;w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"&gt;   &lt;w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"&gt;   &lt;w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"&gt;   &lt;w:lsdexception locked="false" priority="37" name="Bibliography"&gt;   &lt;w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable  {mso-style-name:"Table Normal";  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-qformat:yes;  mso-style-parent:"";  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:11.0pt;  font-family:"Calibri","sans-serif";  mso-ascii-font-family:Calibri;  mso-ascii-theme-font:minor-latin;  mso-fareast-font-family:"Times New Roman";  mso-fareast-theme-font:minor-fareast;  mso-hansi-font-family:Calibri;  mso-hansi-theme-font:minor-latin;  mso-bidi-font-family:"Times New Roman";  mso-bidi-theme-font:minor-bidi;} &lt;/style&gt; &lt;![endif]--&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-2331335183842986866?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/2331335183842986866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=2331335183842986866' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2331335183842986866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2331335183842986866'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2011/11/using-curl-to-get-secure-website.html' title='Using CURL to get secure website information.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-4570468772372036517</id><published>2011-10-19T15:20:00.001+05:30</published><updated>2011-10-19T15:20:29.770+05:30</updated><title type='text'>Recovering a Bad Block on Linux</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-4570468772372036517?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://smartmontools.sourceforge.net/badblockhowto.html' title='Recovering a Bad Block on Linux'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/4570468772372036517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=4570468772372036517' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4570468772372036517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4570468772372036517'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2011/10/recovering-bad-block-on-linux.html' title='Recovering a Bad Block on Linux'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-6863294632403362498</id><published>2011-10-18T14:13:00.002+05:30</published><updated>2011-10-18T14:40:54.268+05:30</updated><title type='text'>Configuring &amp; Managing DELL PERC array controller from Linux Operating System</title><content type='html'>MegaRAID Cli&lt;br /&gt;-----------------&lt;br /&gt;http://www.thegeekstuff.com/2009/05/dell-tutorial-create-raid-using-perc-6i-integrated-bios-configuration-utility/&lt;br /&gt;http://tools.rapidsoft.de/perc/perc-cheat-sheet.html&lt;br /&gt;&lt;br /&gt;Download&lt;br /&gt;http://www.lsi.com/downloads/Public/Obsolete/Obsolete%20Common%20Files/dr_linux_2.20.4.6_as40.zip&lt;br /&gt;&lt;br /&gt;HP Array Controller card configuration from Linux&lt;br /&gt;---------------------------------------------------&lt;br /&gt;http://www.datadisk.co.uk/html_docs/redhat/hpacucli.htm&lt;br /&gt;&lt;br /&gt;---------------------------&lt;br /&gt;View Enclosure Details&lt;br /&gt;MegaCli -EncInfo -aALL&lt;br /&gt;&lt;br /&gt;View Array Controller on Server&lt;br /&gt;MegaCli -AdpAllInfo -aAll&lt;br /&gt;&lt;br /&gt;View Physical disk attached to the Array Controller&lt;br /&gt;MegaCli -PDList -aAll&lt;br /&gt;---------------------------&lt;br /&gt;&lt;br /&gt;View Types of RAID Supported by Array Controller Card.&lt;br /&gt;MegaCli -AdpAllInfo -aAll|grep RAID&lt;br /&gt;&lt;br /&gt;Create RAID 1 / 5 from MegaRAID Cli&lt;br /&gt;MegaCli -CfgLdAdd -r1 [8:2, 8:3] -a0&lt;br /&gt;8 = Enclosure Device ID Number      - Can find it out from PDList information&lt;br /&gt;2 &amp;amp; 3 = Disk Slot Number  - Can find it out from PDList information&lt;br /&gt;a0 - Adapter Number&lt;br /&gt;&lt;br /&gt;MegaCli -CfgLdAdd -r5 [8:2, 8:3, 8:4] -a0&lt;br /&gt;Raid 5 Creation&lt;br /&gt;--------------------------------&lt;br /&gt;View Virtual Device Information.&lt;br /&gt;MegaCli -LDInfo -Lall -aALL&lt;br /&gt;---------------------------------&lt;br /&gt;&lt;br /&gt;Set disk state to offline&lt;br /&gt;MegaCli -PDOffline -PhysDrv [8:3] -a0&lt;br /&gt;&lt;br /&gt;MegaCli -PDList -aAll |egrep 'Enclosure|Slot|Firmware'&lt;br /&gt;Enclosure Device ID: 8&lt;br /&gt;Slot Number: 3&lt;br /&gt;Firmware state: Offline&lt;br /&gt;---------------------------------&lt;br /&gt;&lt;br /&gt;Set disk state to online&lt;br /&gt;MegaCli -PDonline -PhysDrv [8:3] -a0&lt;br /&gt;&lt;br /&gt;MegaCli -PDList -aAll |egrep 'Enclosure|Slot|Firmware'&lt;br /&gt;Enclosure Device ID: 8&lt;br /&gt;Slot Number: 3&lt;br /&gt;Firmware state: Offlin&lt;br /&gt;-------------------------------&lt;br /&gt;&lt;br /&gt;Mark Disk as missing&lt;br /&gt;MegaCli -PDMarkMissing -PhysDrv [8:3] -a0&lt;br /&gt;&lt;br /&gt;Prepare disk for removal&lt;br /&gt;MegaCli -PdPrpRmv -PhysDrv [8:3] -a0&lt;br /&gt;&lt;br /&gt;Replace Missing physical disk&lt;br /&gt;MegaCli -PdReplaceMissing -PhysDrv [8:3] -ArrayN -rowN -aN&lt;br /&gt;&lt;br /&gt;Rebuild the newly added disk&lt;br /&gt;MegaCli -PDRbld -Start -PhysDrv [8:3] -aN&lt;br /&gt;&lt;br /&gt;Check rebuild /start/stop/status rebuild on the server.&lt;br /&gt;MegaCli -PDRbld -Start -PhysDrv [E:S] -aN&lt;br /&gt;MegaCli -PDRbld -Stop -PhysDrv [E:S] -aN&lt;br /&gt;MegaCli -PDRbld -ShowProg -PhysDrv [E:S] -aN&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-6863294632403362498?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/6863294632403362498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=6863294632403362498' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6863294632403362498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6863294632403362498'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2011/10/configuring-managing-dell-perc-array.html' title='Configuring &amp; Managing DELL PERC array controller from Linux Operating System'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-6174107577169914177</id><published>2011-09-29T13:19:00.002+05:30</published><updated>2011-09-29T13:19:34.157+05:30</updated><title type='text'>lsof examples</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-6174107577169914177?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='enclosure' type='' href='http://alexander.holbreich.org/2010/11/lsof/' length='0'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/6174107577169914177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=6174107577169914177' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6174107577169914177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6174107577169914177'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2011/09/lsof-examples.html' title='lsof examples'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-8678691590337617709</id><published>2011-08-19T17:07:00.002+05:30</published><updated>2011-08-19T17:09:47.249+05:30</updated><title type='text'>View smbuser on the samba-share</title><content type='html'>Samba - List the smbuser added to the samba share.&lt;br /&gt;&lt;br /&gt;pdbedit -L  = This will list all the smbuser added using smbpasswd -a command&lt;br /&gt;pdbedit -Lv = This will extended view of the smbuser list.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-8678691590337617709?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/8678691590337617709/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=8678691590337617709' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8678691590337617709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8678691590337617709'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2011/08/view-smbuser-on-samba-share.html' title='View smbuser on the samba-share'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-6787985167273555771</id><published>2011-07-28T14:13:00.005+05:30</published><updated>2011-11-14T14:28:52.766+05:30</updated><title type='text'>Configuring ISCSI targets and initiators.</title><content type='html'>&lt;span style="color: rgb(0, 0, 153);font-size:100%;" &gt;&lt;span style="font-family:trebuchet ms;"&gt;ISCSI Server installation and Configuration.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;ISCSI (Internet Small Computer System Interface) - (IP)-based storage networking standard for linking data storage facilities. By carrying SCSI commands over IP networks&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;iscsi targets should be raw disk or block file only. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;ISCSI Target - Server from where the ISCSI disk space is shared.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;ISCSI Initator - Clients on which the ISCSI targets are mounted.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;SERVER / TARGET side Configuration&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;====================&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;Package requirments&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;----------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;yum install scsi-target-utils.i386&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;yum install openssl-devel.i386&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;/etc/init.d/tgtd start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;Creating iscsi lun&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;=============&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;tgtadm --lld iscsi --op new --mode target --tid 1 -T iqn.2011-04.com.mxmail:storage.disk2.mxmail.com&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;tgtadm --lld iscsi --op show --mode target&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;Attaching storage to the LUN&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;----------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b /iscsifile&lt;/span&gt;&lt;/span&gt;&lt;div&gt;&lt;span style="color: rgb(0, 0, 153);font-size:100%;" &gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;   &lt;/span&gt;or for physical disk&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: rgb(0, 0, 153);font-size:100%;" &gt;&lt;span class="Apple-style-span"&gt;tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b /dev/sdb&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: rgb(0, 0, 153);font-size:100%;" &gt;&lt;span style="font-family:trebuchet ms;"&gt;tgtadm --lld iscsi --op show --mode target&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;Securing the iscsi targets&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;===================&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;IP based restriction&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL       #Allowing all IP on the network to access Target ID1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;tgtadm --lld iscsi --op bind --mode target --tid 1 -I 192.168.2.10   #Allowing specific IP access to Target ID1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;tgtadm --lld iscsi --op bind --mode target --tid 1 -I 192.168.2.0/24   #Allowing specific IP subnet to Target ID1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;User based restriction&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;---------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;tgtadm --lld iscsi --op new --mode account --user user1 --password password1  #Creation of User account&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;tgtadm --lld iscsi --op bind --mode account --tid 1 --user fujita   #Adding User account to the target ID1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;tgtadm --lld iscsi --op unbind --mode account --tid 1 --user fujita #Removing User account to the target ID1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-------------------------------------------------------------------------------------&lt;br /&gt;To make the  configuration persistent across add the above lines into /etc/rc.local file&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: rgb(0, 0, 153);font-size:100%;" &gt;--------------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;INITIATOR side Configuration&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;=====================&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;yum install iscsi-initiator-utils-6.2.0.865-0.8.el5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;yum install lsscsi-0.17-3.el5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;service iscsi start&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;chkconfig iscsi on&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;Running discovery of the iscsi server.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;iscsiadm --mode discovery --type sendtargets --portal 192.168.10.10 (Target Server IP)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;Should list an output like this: 192.168.10.10:3260,1 iqn.2011-04.com.mxmail:storage.disk2.mxmail.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;vi /etc/iscsi/initiatorname.iscsi&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;add this value - InitiatorName=iqn.2011-04.com.mxmail:storage.disk2.mxmail.com&lt;br /&gt;&lt;br /&gt;iscsiadm -m node&lt;br /&gt;&lt;/span&gt;Will show all the iscsi devices.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;#lsscsi (Command to display the mapped iscsi disks)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;[0:0:0:0]    disk    VMware   Virtual disk     1.0   /dev/sda&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;[9:0:0:0]    storage IET      Controler        0001  -               #LUN Controller&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;[9:0:0:1]    disk    IET      VIRTUAL-DISK     0001  /dev/sdb   #Virtual Disk mapped to /dev/sdb&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;#fdisk -l /dev/sdb&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;Disk /dev/sdb: 3221 MB, 3221225472 bytes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;100 heads, 62 sectors/track, 1014 cylinders&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;Units = cylinders of 6200 * 512 = 3174400 bytes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;Disk /dev/sdb doesn't contain a valid partition table&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: rgb(0, 0, 153);font-size:100%;" &gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span style=" ;font-size:100%;" &gt;&lt;span class="Apple-style-span"&gt;All configuration files for iscsi is stored in &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style=" ;font-family:'trebuchet ms';" &gt;/var/lib/iscsi/&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="color: rgb(0, 0, 153);font-size:100%;" &gt;&lt;br /&gt;&lt;br /&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/8818498-6787985167273555771?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/6787985167273555771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=6787985167273555771' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6787985167273555771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6787985167273555771'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2011/07/configuring-iscsi-targets-and.html' title='Configuring ISCSI targets and initiators.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-5701554993568697803</id><published>2011-05-31T15:02:00.002+05:30</published><updated>2011-05-31T15:10:01.622+05:30</updated><title type='text'>Script to populate mails to mail accounts with an attachment and contents in body.</title><content type='html'>Shell Script for populating mails to mail users - For testing reasons.&lt;br /&gt;&lt;br /&gt;while read username&lt;br /&gt;do&lt;br /&gt;        for i in {1..25}&lt;br /&gt;              do&lt;br /&gt;                mutt -s "sample mail $i"  -a /root/attachment.log $username"@mltech.com" &amp;lt; mailbody.template&lt;br /&gt;        done&lt;br /&gt;done &amp;lt; useraccount&lt;br /&gt;&lt;br /&gt;useraccount file will contain mail accounts.&lt;br /&gt;mailbody.template file will contain mail body content.&lt;br /&gt;attachment.log file is the attachment file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-5701554993568697803?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/5701554993568697803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=5701554993568697803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/5701554993568697803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/5701554993568697803'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2011/05/script-to-populate-mails-to-mail.html' title='Script to populate mails to mail accounts with an attachment and contents in body.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-5357196157053834075</id><published>2011-05-31T13:12:00.005+05:30</published><updated>2011-05-31T13:16:58.027+05:30</updated><title type='text'>Oneliner script for user account &amp; password creation in linux</title><content type='html'>You need to have root user privileges to run some of the commands in the script needs.&lt;br /&gt;&lt;br /&gt;user=openuser;for i in {1..50};do useradd $user$i;pd=abc;echo $user$i$pd |passwd --stdin $user$i;done&lt;br /&gt;&lt;br /&gt;This will create user names openuser1, 2 till 50 with password "openuser1abc, openuser2abc, etc.,"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-5357196157053834075?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/5357196157053834075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=5357196157053834075' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/5357196157053834075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/5357196157053834075'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2011/05/oneliner-script-for-user-account.html' title='Oneliner script for user account &amp; password creation in linux'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-5037940385553467935</id><published>2011-03-15T16:51:00.002+05:30</published><updated>2011-03-15T16:54:44.487+05:30</updated><title type='text'>DOS - Batch programming - Accept command input for batch programm</title><content type='html'>hello.bat file content&lt;br /&gt;@echo welcome %1 %2 %3 %4 boy&lt;br /&gt;&lt;br /&gt;Execution.&lt;br /&gt;hello one two three four&lt;br /&gt;&lt;br /&gt;output will be&lt;br /&gt;C:\Documents and Settings\retheesh\Desktop&gt;hello &lt;span style="font-weight: bold; font-style: italic;"&gt;one two three four&lt;/span&gt; (Input parameters)&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;welcome one two three four boy&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-5037940385553467935?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/5037940385553467935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=5037940385553467935' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/5037940385553467935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/5037940385553467935'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2011/03/dos-batch-programming-accept-command.html' title='DOS - Batch programming - Accept command input for batch programm'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-7482909624875561835</id><published>2011-03-04T12:32:00.001+05:30</published><updated>2011-09-02T11:03:33.484+05:30</updated><title type='text'>perl oneliners</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;code&gt;perl -p -i -e 's/oldstring/newstring/g' filename.&lt;br /&gt;This will change the oldstring to newstring in the file.&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;Perl oneliner to install modules. (Note should have internet access and should have CPAN configuration done)&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;perl -MCPAN -e 'install HTML::Template'&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; OR&lt;/code&gt;&lt;br /&gt;&lt;code&gt; &lt;/code&gt;&lt;br /&gt;&lt;code&gt;cpan -i &lt;/code&gt;&lt;code&gt;'install HTML::Template'&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-7482909624875561835?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/7482909624875561835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=7482909624875561835' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/7482909624875561835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/7482909624875561835'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2011/03/perl-oneliners.html' title='perl oneliners'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-8755377533484319295</id><published>2011-03-04T11:35:00.000+05:30</published><updated>2011-03-04T11:36:01.391+05:30</updated><title type='text'>SED one Liner</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-8755377533484319295?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.eng.cam.ac.uk/help/tpl/unix/sed.html' title='SED one Liner'/><link rel='enclosure' type='text/html' href='http://www.eng.cam.ac.uk/help/tpl/unix/sed.html' length='0'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/8755377533484319295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=8755377533484319295' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8755377533484319295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8755377533484319295'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2011/03/sed-one-liner.html' title='SED one Liner'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-4795887237472909276</id><published>2010-11-23T19:32:00.001+05:30</published><updated>2010-11-23T19:34:06.074+05:30</updated><title type='text'>Official RedHat Documentation Link - Very Good</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-4795887237472909276?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/index.html' title='Official RedHat Documentation Link - Very Good'/><link rel='enclosure' type='text/html' href='http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/index.html' length='0'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/4795887237472909276/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=4795887237472909276' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4795887237472909276'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4795887237472909276'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/11/official-redhat-documentation-link-very.html' title='Official RedHat Documentation Link - Very Good'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-3661812556667386495</id><published>2010-11-02T19:44:00.002+05:30</published><updated>2010-11-02T19:47:15.277+05:30</updated><title type='text'>XOR operation for Parity Caluclation</title><content type='html'>Sample XOR operation that will be used for recovering data during parity regeneration&lt;br /&gt;&lt;br /&gt;&lt;table style="width: 187px; height: 196px;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="font-weight: bold;" align="center"&gt;A&lt;/td&gt;&lt;td style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style="font-weight: bold;" align="center"&gt;B&lt;/td&gt;&lt;td style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style="font-weight: bold;" align="center"&gt;C&lt;/td&gt;&lt;/tr&gt;  &lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;0&lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt; XOR &lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt;0&lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt;-&gt;&lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt;0&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;0&lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt; XOR &lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt;1&lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt;-&gt;&lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt;1&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;1&lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt; XOR &lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt;0&lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt;-&gt;&lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt;1&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td align="center"&gt;&lt;b&gt;1&lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt; XOR &lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt;1&lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt;-&gt;&lt;/b&gt;&lt;/td&gt;&lt;td align="center"&gt;&lt;b&gt;0&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-3661812556667386495?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/3661812556667386495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=3661812556667386495' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/3661812556667386495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/3661812556667386495'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/11/sample-xor-operation-that-will-be-used.html' title='XOR operation for Parity Caluclation'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-6504741520970683311</id><published>2010-10-26T16:46:00.004+05:30</published><updated>2010-10-26T17:01:07.972+05:30</updated><title type='text'>Get date information from commands.</title><content type='html'>&lt;span style="font-size:100%;"&gt;Get the Date output.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;===============&lt;br /&gt;$ date +%d   -- Date&lt;br /&gt;26&lt;br /&gt;$ date +%D -- Date format&lt;br /&gt;10/26/10&lt;br /&gt;$ date +%m  -- Month&lt;br /&gt;10&lt;br /&gt;$ date +%b -- Month&lt;br /&gt;Oct&lt;br /&gt;$ date +%M -- Minutes&lt;br /&gt;45&lt;br /&gt;$ date +%W -- Week of the year&lt;br /&gt;43&lt;br /&gt;$ date +%w -- Week of the day&lt;br /&gt;2&lt;br /&gt;$ date +%Y -- Year&lt;br /&gt;2010&lt;br /&gt;$ date +%y -- Year (last 2 digits)&lt;br /&gt;10&lt;br /&gt;$ date +%n -- New line&lt;br /&gt;$ date +%l  -- hour (0..12)&lt;br /&gt;4&lt;br /&gt;$ date +%k -- hour (0..23)&lt;br /&gt;16&lt;br /&gt;$ date +%N -- nano seconds&lt;br /&gt;855022663&lt;br /&gt;$ date +%T -- time format&lt;br /&gt;16:48:14&lt;br /&gt;-----------------------------------&lt;br /&gt;$ set `date`&lt;br /&gt;$ echo $1&lt;br /&gt;Tue&lt;br /&gt;$ echo $2&lt;br /&gt;Oct&lt;br /&gt;$ echo $3&lt;br /&gt;26&lt;br /&gt;$ echo $4&lt;br /&gt;16:52:45&lt;br /&gt;$ echo $5&lt;br /&gt;IST&lt;br /&gt;$ echo $6&lt;br /&gt;2010&lt;br /&gt;$ echo $# -- Total number of command variables.&lt;br /&gt;6&lt;br /&gt;-----------------------------------------------&lt;br /&gt;date |cut -d" " -f1             # Replace f1 to f2,3,4,5,6 to get the values.&lt;br /&gt;Tue&lt;br /&gt;-------------------------&lt;br /&gt;You can run a loop to check the day and run some commands according using case loop.&lt;br /&gt;&lt;br /&gt;case `date |cut -d" " -f1` in&lt;br /&gt;Mon) commands ;;&lt;br /&gt;Tue) commands ;;&lt;br /&gt;Wed) commands ;;&lt;br /&gt;...&lt;br /&gt;esac&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-6504741520970683311?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/6504741520970683311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=6504741520970683311' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6504741520970683311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6504741520970683311'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/10/get-date-information-from-commands.html' title='Get date information from commands.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-4036466609322437935</id><published>2010-10-25T15:15:00.003+05:30</published><updated>2010-10-25T15:18:13.793+05:30</updated><title type='text'>Check top CPU or Memory utilisation process.</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Find Processes that uses maximum processor utilisation&lt;/span&gt;&lt;br /&gt;#ps -eo pid,ppid,pcpu,rss,cmd --sort pcpu&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Find Processes that uses maximum Memory utilisation&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;#ps -eo pid,ppid,pcpu,rss,cmd --sort rss&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-4036466609322437935?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/4036466609322437935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=4036466609322437935' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4036466609322437935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4036466609322437935'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/10/check-top-cpu-or-memory-utilisation.html' title='Check top CPU or Memory utilisation process.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-8356852069613809104</id><published>2010-10-25T15:02:00.003+05:30</published><updated>2010-10-25T15:13:49.007+05:30</updated><title type='text'>Kill multiple jobs OR Kill all jobs of a particular user</title><content type='html'># Create a list of specific jobs of a user&lt;br /&gt;ps -ef |grep [username]|grep [jobname eg. telnet]|awk '{print $2}' &gt; /tmp/fileout&lt;br /&gt;while read userpid; do kill -9 $userpid;done &lt; /tmp/fileout&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-8356852069613809104?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/8356852069613809104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=8356852069613809104' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8356852069613809104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8356852069613809104'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/10/kill-multiple-jobs-or-kill-all-jobs-of.html' title='Kill multiple jobs OR Kill all jobs of a particular user'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-2673565732121106983</id><published>2010-09-08T18:10:00.002+05:30</published><updated>2010-09-08T18:13:07.812+05:30</updated><title type='text'>Modify FreeNas configuration file</title><content type='html'>Editing of FreeNAS configure file is not possible from the FreeNAS shell.&lt;br /&gt;To modify the configuration -  Eg., /etc/fstab on FreeNAS&lt;br /&gt;&lt;br /&gt;share /etc directory using NFS / CIFS share - ( Make sure its not a read only share)&lt;br /&gt;mount /etc share on linux partition.&lt;br /&gt;Use vi tool to modify the configuration file and save the configuration.&lt;br /&gt;&lt;br /&gt;:) done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-2673565732121106983?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/2673565732121106983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=2673565732121106983' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2673565732121106983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2673565732121106983'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/09/modify-freenas-configuration-file.html' title='Modify FreeNas configuration file'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-6993839123611105563</id><published>2010-09-07T12:10:00.003+05:30</published><updated>2011-04-07T19:43:15.042+05:30</updated><title type='text'>perl module checks &amp; installation</title><content type='html'>&lt;div&gt;[root@mail ~]# instmodsh&lt;/div&gt;&lt;div&gt;Available commands are:&lt;/div&gt;&lt;div&gt;   l            - List all installed modules&lt;/div&gt;&lt;div&gt;   m &lt;module&gt;   - Select a module&lt;/module&gt;&lt;/div&gt;&lt;div&gt;   q            - Quit the program&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;/code&gt;perldoc perlmodlib - Will display all modules that are installed along with the standard perl packages&lt;br /&gt;perldoc perllocal - Will display all additional modules that were installed.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;-----------------------&lt;/div&gt;&lt;div&gt;To install perl modules - (Make sure your system is connected to internet)&lt;/div&gt;&lt;div&gt;perl -MCPAN -e shell&lt;/div&gt;&lt;div&gt;cpan&amp;gt; o conf - will display the configurations&lt;/div&gt;&lt;div&gt;cpan&amp;gt; o conf init - Will reinitiate the configuration.&lt;/div&gt;&lt;div&gt;cpan&amp;gt; install Bundle::cpan --- Sample command to install modules.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-6993839123611105563?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/6993839123611105563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=6993839123611105563' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6993839123611105563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6993839123611105563'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/09/perl-module-checks-installation.html' title='perl module checks &amp; installation'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-5943699966784012824</id><published>2010-08-17T18:26:00.001+05:30</published><updated>2010-08-17T18:26:38.009+05:30</updated><title type='text'>Change Solaris Server hostname</title><content type='html'>Change the hostname in the following files:&lt;br /&gt;&lt;br /&gt;     /etc/nodename&lt;br /&gt;     /etc/hostname.*interface&lt;br /&gt;     /etc/inet/hosts&lt;br /&gt;     /etc/inet/ipnodes&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-5943699966784012824?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/5943699966784012824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=5943699966784012824' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/5943699966784012824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/5943699966784012824'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/08/change-solaris-server-hostname.html' title='Change Solaris Server hostname'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-2953112577695256204</id><published>2010-08-04T15:02:00.004+05:30</published><updated>2010-08-04T15:03:39.046+05:30</updated><title type='text'>Reverse proxy configuration on Apache</title><content type='html'>&lt;div&gt;Apache Server side configuration.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;mod_proxy_html installation reference link http://ubuntuforums.org/showthread.php?t=350836&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;wget http://apache.webthing.com/mod_proxy_html/mod_proxy_html.tgz&lt;/div&gt;&lt;div&gt;tar -xvzf mod_proxy_html.tgz&lt;/div&gt;&lt;div&gt;cd mod_proxy_html&lt;/div&gt;&lt;div&gt;-----------------------&lt;/div&gt;&lt;div&gt;apt-get install apache2-prefork-dev&lt;/div&gt;&lt;div&gt;apt-get install libxml2-dev&lt;/div&gt;&lt;div&gt;ln -s /usr/include/libxml2/libxml /usr/include/libxml&lt;/div&gt;&lt;div&gt;apxs2 -i -c mod_proxy_html.c&lt;/div&gt;&lt;div&gt;------------------------------------------&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Modules for proxy settings&lt;/div&gt;&lt;div&gt;--------------------------------&lt;/div&gt;&lt;div&gt;LoadModule proxy_module modules/mod_proxy.so&lt;/div&gt;&lt;div&gt;LoadModule proxy_balancer_module modules/mod_proxy_balancer.so&lt;/div&gt;&lt;div&gt;LoadModule proxy_ftp_module modules/mod_proxy_ftp.so&lt;/div&gt;&lt;div&gt;LoadModule proxy_http_module modules/mod_proxy_http.so&lt;/div&gt;&lt;div&gt;LoadModule proxy_connect_module modules/mod_proxy_connect.so&lt;/div&gt;&lt;div&gt;LoadFile   /usr/lib/libxml2.so.2&lt;/div&gt;&lt;div&gt;-----------------------------------------------------------------------------&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;NameVirtualHost *:443&lt;/div&gt;&lt;div&gt;NameVirtualHost *:80&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;virtualhost&gt;&lt;/virtualhost&gt;&lt;/div&gt;&lt;div&gt;        ServerName linuxmediaserver.mlmail.net&lt;/div&gt;&lt;div&gt;        DocumentRoot /var/www/&lt;/div&gt;&lt;div&gt;        ErrorLog /var/log/httpd/error.log&lt;/div&gt;&lt;div&gt;        CustomLog /var/log/httpd/access.log combined&lt;/div&gt;&lt;div&gt; ProxyRequests Off&lt;/div&gt;&lt;div&gt;      &lt;proxy&gt;&lt;/proxy&gt;&lt;/div&gt;&lt;div&gt;     Order deny,allow&lt;/div&gt;&lt;div&gt;     Allow from all&lt;/div&gt;&lt;div&gt;     &lt;/div&gt;&lt;div&gt;     ProxyPass        / http://server.domain.com/&lt;/div&gt;&lt;div&gt;     ProxyPassReverse / http://server.domain.com/&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;virtualhost&gt;&lt;/virtualhost&gt;&lt;/div&gt;&lt;div&gt;        ServerName linuxmediaserver.mlmail.net&lt;/div&gt;&lt;div&gt;        DocumentRoot /var/www/&lt;/div&gt;&lt;div&gt;        ErrorLog /var/log/httpd/error.log&lt;/div&gt;&lt;div&gt;        CustomLog /var/log/httpd/access.log combined&lt;/div&gt;&lt;div&gt;        SSLEngine on&lt;/div&gt;&lt;div&gt;        SSLCertificateFile /etc/httpd/ssl/mycert.pem                #---------------&gt; Generated certificate&lt;/div&gt;&lt;div&gt;     ProxyRequests Off&lt;/div&gt;&lt;div&gt;      &lt;proxy&gt;&lt;/proxy&gt;&lt;/div&gt;&lt;div&gt;     Order deny,allow&lt;/div&gt;&lt;div&gt;     Allow from all&lt;/div&gt;&lt;div&gt;     &lt;/div&gt;&lt;div&gt;     ProxyPass        / http://server.domain.com/&lt;/div&gt;&lt;div&gt;     ProxyPassReverse / http://server.domain.com/&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-2953112577695256204?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/2953112577695256204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=2953112577695256204' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2953112577695256204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2953112577695256204'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/08/reverse-proxy-configuration-on-apache.html' title='Reverse proxy configuration on Apache'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-1926845558100479998</id><published>2010-07-26T20:48:00.003+05:30</published><updated>2010-07-26T21:01:49.624+05:30</updated><title type='text'>Apache Bench test</title><content type='html'>&lt;em&gt;Apache bench test can be done to find the apache server performance.&lt;br /&gt;We can run multiple simultaneous connections to the apache server and check the server response time.&lt;br /&gt;&lt;br /&gt;Download apace bench marker from the below site.&lt;br /&gt;http://www.filewatcher.com/m/ApacheBench-0.62.tar.gz.61627.0.0.html&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Install Apache Bench mark -&lt;br /&gt;wget &lt;em&gt;&lt;a href="http://www.filewatcher.com/b/ftp/ftp.eenet.ee/pub/cpan/authors/id/A/AD/ADIRAJ.0.0.html"&gt;ftp://ftp.eenet.ee/pub/cpan/authors/id/A/AD/ADIRAJ/&lt;/a&gt;&lt;/em&gt;&lt;a href="ftp://ftp.eenet.ee/pub/cpan/authors/id/A/AD/ADIRAJ/ApacheBench-0.62.tar.gz"&gt;ApacheBench-0.62.tar.gz&lt;/a&gt;&lt;br /&gt;mv &lt;a href="ftp://ftp.eenet.ee/pub/cpan/authors/id/A/AD/ADIRAJ/ApacheBench-0.62.tar.gz"&gt;ApacheBench-0.62.tar.gz&lt;/a&gt; to /opt&lt;br /&gt;&lt;br /&gt;tar -zxvf &lt;a href="ftp://ftp.eenet.ee/pub/cpan/authors/id/A/AD/ADIRAJ/ApacheBench-0.62.tar.gz"&gt;ApacheBench-0.62.tar.gz&lt;/a&gt;&lt;br /&gt;cd /opt/ApacheBench-0.62&lt;br /&gt; perl Makefile.PL&lt;br /&gt; make&lt;br /&gt; make test           (requires Term::ReadKey for execute() test)&lt;br /&gt; make install&lt;br /&gt;&lt;br /&gt;Now AB is installed you can run the testing from command.&lt;br /&gt;ab -n 10000 -c 5 http://(servername)&lt;servername&gt;/index.html&lt;br /&gt;&lt;br /&gt;-n requests     Number of requests to perform&lt;br /&gt;-c concurrency  Number of multiple requests to make&lt;br /&gt;&lt;br /&gt;Result&lt;br /&gt;=====&lt;br /&gt;This is ApacheBench, Version 2.0.40-dev &lt;$Revision: 1.146 $&gt; apache-2.0&lt;br /&gt;Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/&lt;br /&gt;Copyright 2006 The Apache Software Foundation, http://www.apache.org/&lt;br /&gt;&lt;br /&gt;Benchmarking xxx.xxx.xxx.xxx (be patient)&lt;br /&gt;Completed 1000 requests&lt;br /&gt;Completed 2000 requests&lt;br /&gt;Completed 3000 requests&lt;br /&gt;Completed 4000 requests&lt;br /&gt;Completed 5000 requests&lt;br /&gt;Completed 6000 requests&lt;br /&gt;Completed 7000 requests&lt;br /&gt;Completed 8000 requests&lt;br /&gt;Completed 9000 requests&lt;br /&gt;Finished 10000 requests&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Server Software:        Apache/2.2.10&lt;br /&gt;Server Hostname:        &lt;serveraname&gt;&lt;br /&gt;Server Port:            80&lt;br /&gt;&lt;br /&gt;Document Path:          /index.html&lt;br /&gt;Document Length:        197 bytes&lt;br /&gt;&lt;br /&gt;Concurrency Level:      10&lt;br /&gt;Time taken for tests:   6.98762 seconds&lt;br /&gt;Complete requests:      10000&lt;br /&gt;Failed requests:        0&lt;br /&gt;Write errors:           0&lt;br /&gt;Total transferred:      4440000 bytes&lt;br /&gt;HTML transferred:       1970000 bytes&lt;br /&gt;Requests per second:    1639.68 [#/sec] (mean)&lt;br /&gt;Time per request:       6.099 [ms] (mean)&lt;br /&gt;Time per request:       0.610 [ms] (mean, across all concurrent requests)&lt;br /&gt;Transfer rate:          710.80 [Kbytes/sec] received&lt;br /&gt;&lt;br /&gt;=========&lt;/serveraname&gt;&lt;/servername&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-1926845558100479998?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/1926845558100479998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=1926845558100479998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/1926845558100479998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/1926845558100479998'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/07/apache-bench-test.html' title='Apache Bench test'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-4423325502978113531</id><published>2010-06-27T09:59:00.001+05:30</published><updated>2011-07-05T19:03:01.028+05:30</updated><title type='text'>Powering ON or OFF system using wake on LAN</title><content type='html'>http://www.tjansson.dk/?p=83&lt;br /&gt;http://www.raymond.cc/blog/archives/2007/10/21/how-to-remotely-turn-on-computer-from-lan-and-wan/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-4423325502978113531?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/4423325502978113531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=4423325502978113531' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4423325502978113531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4423325502978113531'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/06/powering-on-or-off-system-using-wake-on.html' title='Powering ON or OFF system using wake on LAN'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-8373422377031115098</id><published>2010-06-10T12:00:00.002+05:30</published><updated>2010-06-10T12:02:03.222+05:30</updated><title type='text'>Backup and Restore root filesystem using TAR command</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-8373422377031115098?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://en.kioskea.net/faq/2072-restoring-linux-using-tar' title='Backup and Restore root filesystem using TAR command'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/8373422377031115098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=8373422377031115098' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8373422377031115098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8373422377031115098'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/06/backup-and-restore-tar-command.html' title='Backup and Restore root filesystem using TAR command'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-8879765872386927822</id><published>2010-06-08T19:08:00.001+05:30</published><updated>2010-06-08T19:09:36.105+05:30</updated><title type='text'>how to get LDAP query output of more than 1000 objects</title><content type='html'>You can always change the LDAP query output from 1000 to the number of your choice on AD using ntdsutil.exe feature. - Caution - this is not the recommended option as this will increase the maxpagefilesize on your server which can be a server performance overload.&lt;br /&gt;===============================&lt;br /&gt;&lt;br /&gt;C:\WINDOWS\system32\ntdsutil.exe: ldap policies&lt;br /&gt;ldap policy: connections&lt;br /&gt;server connections: connect to server lab15cust5&lt;br /&gt;Binding to lab15cust5 ...&lt;br /&gt;Connected to lab15cust5 using credentials of locally logged on user.&lt;br /&gt;server connections: q&lt;br /&gt;ldap policy: show values&lt;br /&gt;MaxPageSize 2000&lt;br /&gt;ldap policy: set maxpagesize to 3000&lt;br /&gt;ldap policy: show values&lt;br /&gt;Policy Current(New)&lt;br /&gt;MaxPageSize 2000(3000)&lt;br /&gt;ldap policy: commit changes&lt;br /&gt;ldap policy: show values&lt;br /&gt;Policy Current(New)&lt;br /&gt;MaxPageSize 3000&lt;br /&gt;ldap policy: q&lt;br /&gt;&lt;br /&gt;=====================================&lt;br /&gt;Other way of getting more than 1000 results without modifying the maxpagefilesize is by using -E option along with Paged Results option.&lt;br /&gt;ldapsearch -E pr=100/noprompt -H ldap://xxx.xxx.xxx.xxx -x -b "dc=doman,dc=com" -D "domain\username" -W&lt;br /&gt;This will show all the ldap search results even if there is max of 1000 search output results.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-8879765872386927822?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/8879765872386927822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=8879765872386927822' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8879765872386927822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8879765872386927822'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/06/how-to-get-ldap-query-output-of-more.html' title='how to get LDAP query output of more than 1000 objects'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-4912680816376381424</id><published>2010-04-26T20:02:00.004+05:30</published><updated>2010-04-26T21:15:40.649+05:30</updated><title type='text'>process status - Linux</title><content type='html'>ps auxf -- Will give the processes and child processes information in hierarchical order (grpahically)&lt;br /&gt;ps -p &lt;id&gt;  [id]-- Process info based on JobID&lt;br /&gt;ps auU &lt;username&gt;  [username] -- All process run by a specific user&lt;/username&gt;&lt;/id&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-4912680816376381424?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/4912680816376381424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=4912680816376381424' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4912680816376381424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4912680816376381424'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/04/process-status-linux.html' title='process status - Linux'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-8961321183482248894</id><published>2010-03-18T19:54:00.005+05:30</published><updated>2010-03-19T16:20:33.573+05:30</updated><title type='text'>Converstion of second timestamp to date timestamp</title><content type='html'>Some of the login information is saved on the  second time stamp. This will need to be converted into a format that your system can understand.&lt;br /&gt;&lt;br /&gt;[root@mail ~]# date;&lt;span style="font-weight: bold;"&gt;date +%s&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Fri Mar 19 10:40:32 IST 2010&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1268975432&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To convert the second back to IST format&lt;br /&gt;&lt;br /&gt;[root@mail ~]# date -d '1970-01-01 &lt;span style="font-weight: bold;"&gt;1268975432 &lt;/span&gt;sec GMT'&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Fri Mar 19 10:40:32 IST 2010&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;[root@mail ~]# date -d@&lt;span style="font-weight: bold;"&gt;1268975432&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Fri Mar 19 10:40:32 IST 2010&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;=================================&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-8961321183482248894?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/8961321183482248894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=8961321183482248894' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8961321183482248894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8961321183482248894'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/03/converstion-of-nano-timestamp-to-date.html' title='Converstion of second timestamp to date timestamp'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-4093530325625471</id><published>2010-03-04T16:37:00.002+05:30</published><updated>2010-03-04T17:39:22.873+05:30</updated><title type='text'>Setting up of SVN and WebSVN.</title><content type='html'>Procedure to create a SVN&lt;br /&gt;---------------------------&lt;br /&gt;&lt;br /&gt;Package requirement:&lt;br /&gt;================&lt;br /&gt;&lt;ul&gt;&lt;li&gt;subversion.i386                          1.6.5-1                installed&lt;/li&gt;&lt;li&gt;subversion-devel.i386                    1.6.5-1                installed&lt;/li&gt;&lt;li&gt;subversion-perl.i386                     1.6.5-1                installed&lt;/li&gt;&lt;li&gt;subversion-python.i386                   1.6.5-1                installed&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;Creation of SVN Directory and initialization of SVN&lt;br /&gt;SVN directory location is /srv/svn/repos&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;tt&gt;mkdir /srv/svn/repos&lt;/tt&gt;         &lt;/li&gt;&lt;li&gt;&lt;tt&gt;svnadmin create --fs-type fsfs /srv/svn/repos&lt;/tt&gt;&lt;/li&gt;&lt;/ul&gt;Import the initial code into SVN&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;pre&gt;svn import -m "Initial import" project1 file:///home/project1code&lt;/pre&gt;&lt;/li&gt;&lt;/ul&gt;Configure SVN to view changes using WebSVN.&lt;br /&gt;&lt;br /&gt;Download a copy of WebSVN on the server&lt;br /&gt;&lt;ul&gt;&lt;li&gt;http://websvn.tigris.org/servlets/ProjectDocumentList;jsessionid=24F17B3F5279F7DE3BB39F064A2C4A03&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Copy the the extracted websvn to /var/www/html/webSVN&lt;br /&gt;&lt;ul&gt;&lt;li&gt;cp /var/www/html/webSVN/include/distconfig.php to /var/www/html/webSVN/include/config.php&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;modify /var/www/html/webSVN/include/config.php&lt;/li&gt;&lt;/ul&gt;          $config-&gt;setDiffPath('/usr/bin/');&lt;br /&gt;          $config-&gt;setSedPath('/bin/');&lt;br /&gt;          $config-&gt;setTarPath('/bin/');&lt;br /&gt;          $config-&gt;setGZipPath('/bin/');&lt;br /&gt;          $config-&gt;setZipPath('/usr/bin/');&lt;br /&gt;          $config-&gt;parentPath('/srv/svn/repos');       -------- &gt; Path of your repository&lt;br /&gt;          $config-&gt;addTemplatePath($locwebsvnreal.'/templates/calm/');&lt;br /&gt;          $config-&gt;addTemplatePath($locwebsvnreal.'/templates/BlueGrey/');&lt;br /&gt;          $config-&gt;addTemplatePath($locwebsvnreal.'/templates/Elegant/');&lt;br /&gt;          $config-&gt;setTemplatePath($locwebsvnreal.'/templates/BlueGrey/');&lt;br /&gt;&lt;br /&gt;Now from your web-browser access http://servername/webSVN - this should give you access to your svn thru web interface&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-4093530325625471?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/4093530325625471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=4093530325625471' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4093530325625471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4093530325625471'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2010/03/setting-up-of-svn-and-websvn.html' title='Setting up of SVN and WebSVN.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-8957368624012798835</id><published>2009-10-30T15:14:00.000+05:30</published><updated>2009-10-30T15:15:13.181+05:30</updated><title type='text'>vi commands for solaris</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-8957368624012798835?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.manucomp.com/solaris_tips/introducing_vi.html' title='vi commands for solaris'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/8957368624012798835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=8957368624012798835' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8957368624012798835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8957368624012798835'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/10/vi-commands-for-solaris.html' title='vi commands for solaris'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-3483470587029136517</id><published>2009-10-30T14:27:00.005+05:30</published><updated>2009-10-30T15:12:36.241+05:30</updated><title type='text'>Restrict ssh/ftp user from leaving the home directory - Or grant access to specific directory</title><content type='html'>&lt;span style="font-size:85%;"&gt;This script is tested from Bash and Ksh shell.&lt;br /&gt;Edit the user .profile and add the following lines.&lt;br /&gt;################################&lt;br /&gt;typeset -xf _cd&lt;br /&gt;function _cd&lt;br /&gt;{&lt;br /&gt;\cd $*&lt;br /&gt;if grep "${PWD}" /.approved_dirs &gt; /dev/null 2&gt;&amp;1; then&lt;br /&gt;return&lt;br /&gt;fi&lt;br /&gt;\cd $OLDPWD&lt;br /&gt;return&lt;br /&gt;}&lt;br /&gt;alias cd=_cd&lt;br /&gt;####################################&lt;br /&gt;This script will check if the user is trying to do a cd to any other folder other than listed in .approved_dirs. If its listed, it will allow the user to cd to the folder else it will drop the uesr to his old pwd directory. Which is his home directory.&lt;br /&gt;To restrict the user from editing his .profile or .approved_dirs change the permission to 644 for the files.&lt;br /&gt;Pitfall: If the user uses "alias cd=cd" then the above script will not work. Or if th user changes the default shell, the settings will fail. Preferably can be used for sftp user.&lt;br /&gt;This document is picked from the link below - Many thanks to the contributor - I am placing it here so that its easily accessible to me and others refereing my blog for help.&lt;br /&gt;&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/8818498-3483470587029136517?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.unix.com/unix-dummies-questions-answers/99788-restrict-one-user-see-only-his-home-directory-his-profile.html' title='Restrict ssh/ftp user from leaving the home directory - Or grant access to specific directory'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/3483470587029136517/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=3483470587029136517' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/3483470587029136517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/3483470587029136517'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/10/restrict-sshftp-user-from-leaving-home.html' title='Restrict ssh/ftp user from leaving the home directory - Or grant access to specific directory'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-663903439475235158</id><published>2009-10-22T21:44:00.000+05:30</published><updated>2009-10-22T21:45:03.559+05:30</updated><title type='text'>ActivePerl</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-663903439475235158?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://docstore.mik.ua/orelly/perl/perlnut/ch02_04.htm' title='ActivePerl'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/663903439475235158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=663903439475235158' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/663903439475235158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/663903439475235158'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/10/activeperl.html' title='ActivePerl'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-690097463212687333</id><published>2009-10-07T13:53:00.000+05:30</published><updated>2009-10-07T13:54:48.470+05:30</updated><title type='text'>Perl script to create a Exchange Enabled contact on AD</title><content type='html'>#!/usr/bin/perl&lt;br /&gt;&lt;br /&gt; use Net::LDAP;&lt;br /&gt;&lt;br /&gt; $Ad = Net::LDAP-&gt;new("sogolab.com", version =&gt; 3, port =&gt; 389) or die("failed $!");&lt;br /&gt; print "Failed connecting" if(!$Ad);&lt;br /&gt;&lt;br /&gt; ## bind as an admin or someone who has privileges to create an user&lt;br /&gt; $b = $Ad-&gt;bind(dn =&gt; 'CN=Administrator,CN=Users,DC=sogolab,DC=com', password =&gt; 'xxxxxxx') or die("failed $!; ".$b-&gt;error);&lt;br /&gt;&lt;br /&gt; $result = $Ad-&gt;add( 'cn=Thomas T,cn=Users,DC=sogolab,DC=com',&lt;br /&gt;                        attr =&gt; [&lt;br /&gt;                          'cn'   =&gt; 'Thomas T',&lt;br /&gt;                          'sn'   =&gt; 'Thomas',&lt;br /&gt;                          'mail' =&gt; 'thomas@sogolab.com',&lt;br /&gt;                          'targetAddress' =&gt; 'SMTP:sam@kmail.com',&lt;br /&gt;                          'mAPIRecipient' =&gt; 'FALSE',&lt;br /&gt;                          'mailNickname' =&gt; 'Thomas',&lt;br /&gt;                          'internetEncoding' =&gt; '1310720',&lt;br /&gt;                          'objectclass' =&gt; ['top','person','organizationalPerson','contact' ]]&lt;br /&gt;&lt;br /&gt;                      );&lt;br /&gt;&lt;br /&gt; $result-&gt;code &amp;amp;&amp;amp; warn "failed to add entry: ", $result-&gt;error ;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-690097463212687333?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/690097463212687333/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=690097463212687333' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/690097463212687333'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/690097463212687333'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/10/perl-script-to-create-exchange-enabled.html' title='Perl script to create a Exchange Enabled contact on AD'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-7368670853200266994</id><published>2009-10-05T16:23:00.001+05:30</published><updated>2009-10-05T16:50:28.333+05:30</updated><title type='text'>Perl script to create AD User from Unix Server</title><content type='html'>#!/usr/bin/perl&lt;br /&gt;&lt;br /&gt; use Net::LDAP;&lt;br /&gt;&lt;br /&gt; $Ad = Net::LDAP-&gt;new("sogolab.com", version =&gt; 3, port =&gt; 389) or die("failed $!");&lt;br /&gt; print "Failed connecting" if(!$Ad);&lt;br /&gt;&lt;br /&gt; ## bind as an admin or someone who has privileges to create an user&lt;br /&gt; $b = $Ad-&gt;bind(dn =&gt; 'CN=Administrator,CN=Users,DC=sogolab,DC=com', password =&gt; 'XSSSXXX') or die("failed $!; ".$b-&gt;error);&lt;br /&gt;&lt;br /&gt; $result = $Ad-&gt;add( 'cn=Ratish Kumar,cn=Users,DC=sogolab,DC=com',&lt;br /&gt;                        attr =&gt; [&lt;br /&gt;                          'cn'   =&gt; 'Ratish Kumar',&lt;br /&gt;                          'sn'   =&gt; 'Ratish',&lt;br /&gt;                          'mail' =&gt; 'ratish@kmail.com',&lt;br /&gt;                          'sAMAccountName' =&gt; 'ratish',&lt;br /&gt;                          'userAccountControl' =&gt; '544',&lt;br /&gt;                          'objectclass' =&gt; ['top', 'person','organizationalPerson','user' ]]&lt;br /&gt;                      );&lt;br /&gt;&lt;br /&gt; $result-&gt;code &amp;amp;&amp;amp; warn "failed to add entry: ", $result-&gt;error ;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-7368670853200266994?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/7368670853200266994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=7368670853200266994' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/7368670853200266994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/7368670853200266994'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/10/perl-script-to-create-ad-user-from-unix.html' title='Perl script to create AD User from Unix Server'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-4633537386401162252</id><published>2009-09-30T17:38:00.000+05:30</published><updated>2009-09-30T17:39:28.736+05:30</updated><title type='text'>TCPDUMP for Linux</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-4633537386401162252?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://linux.byexamples.com/archives/283/simple-usage-of-tcpdump/' title='TCPDUMP for Linux'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/4633537386401162252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=4633537386401162252' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4633537386401162252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4633537386401162252'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/09/tcpdump-for-linux.html' title='TCPDUMP for Linux'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-3330851459541693568</id><published>2009-09-30T13:18:00.001+05:30</published><updated>2009-09-30T13:18:24.572+05:30</updated><title type='text'>SNMP Configuration on Solairs 10</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-3330851459541693568?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://all-unix.blogspot.com/2007/10/solarus-10-and-net-snmp.html' title='SNMP Configuration on Solairs 10'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/3330851459541693568/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=3330851459541693568' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/3330851459541693568'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/3330851459541693568'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/09/snmp-configuration-on-solairs-10.html' title='SNMP Configuration on Solairs 10'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-1493307367443038572</id><published>2009-09-24T16:50:00.003+05:30</published><updated>2009-09-24T17:22:54.774+05:30</updated><title type='text'>Change vsftpd anonymous login default directory</title><content type='html'>The default anonymous login directory is /var/ftp/&lt;br /&gt;To change the default from /var/ftp to any other directory (say /data)&lt;br /&gt;edit /etc/vsftpd/vsftpd.conf file add entry.&lt;br /&gt;local_root=/data&lt;br /&gt;save the file and restart the vsftpd services using command&lt;br /&gt;services vsftpd restart.&lt;br /&gt;&lt;br /&gt;Change the default ftp user account home folder to point to the new location.&lt;br /&gt;before change ftp account info in /etc/passwd file&lt;br /&gt;ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin&lt;br /&gt;chmod -d /data ftp   # To change the home directory for ftp user.&lt;br /&gt;ftp:x:14:50:FTP User:/data:/sbin/nologin&lt;br /&gt;Now when you login as anonymous user,  the login directory will be /data.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-1493307367443038572?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/1493307367443038572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=1493307367443038572' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/1493307367443038572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/1493307367443038572'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/09/change-vsftpd-anonymous-login-default.html' title='Change vsftpd anonymous login default directory'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-8683553532425701788</id><published>2009-09-23T20:26:00.000+05:30</published><updated>2009-09-23T20:27:10.395+05:30</updated><title type='text'>Link to increase RAID Parition size</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-8683553532425701788?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://scotgate.org/2006/07/03/growing-a-raid5-array-mdadm/' title='Link to increase RAID Parition size'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/8683553532425701788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=8683553532425701788' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8683553532425701788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8683553532425701788'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/09/link-to-increase-raid-parition-size.html' title='Link to increase RAID Parition size'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-2656417913453667109</id><published>2009-07-04T00:28:00.002+05:30</published><updated>2009-07-04T00:31:53.369+05:30</updated><title type='text'>http check parameters.</title><content type='html'>httpd -t - will check the configuration syntax of the http.conf file. - Recommended after any changes to the http.conf file.&lt;br /&gt;&lt;br /&gt;httpd -S - Will check and report the virutal machine configuration information.&lt;br /&gt;&lt;br /&gt;httpd -l - will list the compiled modules during the installation.&lt;br /&gt;&lt;br /&gt;httpd -M - Will show the loaded modules in apache.&lt;br /&gt;&lt;br /&gt;httpd -v - Will show the running apache version&lt;br /&gt;&lt;br /&gt;httpd -V - will show the exhaustive information about the apache server built.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-2656417913453667109?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/2656417913453667109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=2656417913453667109' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2656417913453667109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2656417913453667109'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/07/http-check-parameters.html' title='http check parameters.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-6432085798343129934</id><published>2009-06-30T14:23:00.000+05:30</published><updated>2009-06-30T14:24:08.568+05:30</updated><title type='text'>Reset postgres(root) password in postgresql server</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-6432085798343129934?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.ibaazar.com/web/nitin/blog/-/blogs/reset-or-recover-postgresql-root-password-in-ubuntu;jsessionid=ADD225B5F83A4F2FD7955E5F08C04C93?_33_redirect=%2Fweb%2Fguest' title='Reset postgres(root) password in postgresql server'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/6432085798343129934/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=6432085798343129934' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6432085798343129934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6432085798343129934'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/06/reset-postgresroot-password-in.html' title='Reset postgres(root) password in postgresql server'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-5866628544838774891</id><published>2009-06-01T15:36:00.002+05:30</published><updated>2009-06-01T15:38:42.448+05:30</updated><title type='text'>set http/ftp proxy - Cmd line</title><content type='html'>&lt;span style="font-family:trebuchet ms;"&gt;For Windows:set http_proxy=http://proxy.example.com:8080&lt;br /&gt;For Linux/Unix:export http_proxy=&lt;/span&gt;&lt;a href="http://proxy.example.com:8080/"&gt;&lt;span style="font-family:trebuchet ms;"&gt;http://proxy.example.com:8080&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;export ftp_proxy=&lt;/span&gt;&lt;a href="http://proxy.example.com:8080/"&gt;&lt;span style="font-family:trebuchet ms;"&gt;http://proxy.example.com:8080&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;export http_proxy="http://username:password@proxy.example.com:8080"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;–proxy=on&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;–proxy=off&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-5866628544838774891?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://blog.taragana.com/index.php/archive/how-to-use-wget-through-proxy/' title='set http/ftp proxy - Cmd line'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/5866628544838774891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=5866628544838774891' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/5866628544838774891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/5866628544838774891'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/06/set-httpftp-proxy-cmd-line.html' title='set http/ftp proxy - Cmd line'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-2755555766969134930</id><published>2009-05-07T16:40:00.001+05:30</published><updated>2009-05-07T16:42:23.440+05:30</updated><title type='text'>Command to collect the HBA details on SUN</title><content type='html'>&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;On Solaris 9 Use the following commands to collect info.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;luxadm -e port&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;cfgadm -al&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;prtdiag -v&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;prtconf -pv  grep -i wwn&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;Solaris 10 Use command.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;fcinfo hba-port&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-2755555766969134930?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/2755555766969134930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=2755555766969134930' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2755555766969134930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2755555766969134930'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/05/command-to-collect-hba-details-on-sun.html' title='Command to collect the HBA details on SUN'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-6719377931011907428</id><published>2009-04-30T10:51:00.002+05:30</published><updated>2009-04-30T10:54:34.534+05:30</updated><title type='text'>Send Mail from CronJob result mail to users other than root</title><content type='html'>&lt;span style="font-family:trebuchet ms;"&gt;Mailing Cronjob results to a other users other than root.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;0 1 * * 1-6 /location of script  mutt -s "Daily Webex Report" email1@&lt;/span&gt;&lt;a href="mailto:email.comemail2@email.com"&gt;&lt;span style="font-family:trebuchet ms;"&gt;email.com,&lt;/span&gt;&lt;a href="mailto:email2@email.com"&gt;&lt;span style="font-family:trebuchet ms;"&gt;email2@email.com&lt;/span&gt;&lt;/a&gt;&lt;/a&gt;&lt;span style="font-family:trebuchet ms;"&gt; 2&gt;&amp;amp;1&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-6719377931011907428?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/6719377931011907428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=6719377931011907428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6719377931011907428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6719377931011907428'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/04/send-mail-from-cronjob-result-mail-to.html' title='Send Mail from CronJob result mail to users other than root'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-8691251486781511157</id><published>2009-04-17T18:51:00.002+05:30</published><updated>2010-02-09T18:14:09.910+05:30</updated><title type='text'>Automatic SFTP to server to get files - Using Expect</title><content type='html'>#!/usr/bin/expect&lt;br /&gt;set DAY [exec date +%Y-%m-%d]&lt;br /&gt;set timeout -1&lt;br /&gt;spawn /usr/bin/sftp &lt;a href="mailto:retheesh@3.212.44.46"&gt;retheesh@3.212.44.46&lt;/a&gt;&lt;br /&gt;#spawn sftp &lt;a href="mailto:retheesh@3.212.44.46"&gt;retheesh@3.212.44.46&lt;/a&gt;&lt;br /&gt;expect "password:";&lt;br /&gt;send "1\r";expect "&lt;br /&gt;sftp&gt;"send "lcd /home/retheesh/sftp/\r"&lt;br /&gt;expect "sftp&gt;"send "cd /home/retheesh/destination/\r"&lt;br /&gt;expect "sftp&gt;"send "mget *$DAY*.csv\r"&lt;br /&gt;expect "sftp&gt;"send "bye\r"&lt;br /&gt;interact&lt;br /&gt;&lt;br /&gt;ftp using Shell Script&lt;br /&gt;#!/usr/bin/sh&lt;br /&gt;#DAY=`date +%Y%m%d`&lt;br /&gt;ftp -v -n "3.xxx.xxx.xxx" &lt;&lt; cmd&lt;br /&gt;user "anonymous" "&lt;a href="mailto:test@test.com"&gt;test@test.com&lt;/a&gt;"&lt;br /&gt;cd retheesh&lt;br /&gt;lcd /root/Ironport/&lt;br /&gt;bin&lt;br /&gt;hash&lt;br /&gt;get filename&lt;br /&gt;quit&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-8691251486781511157?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/8691251486781511157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=8691251486781511157' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8691251486781511157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8691251486781511157'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/04/automatic-sftp-to-server-to-get-files.html' title='Automatic SFTP to server to get files - Using Expect'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-3346785064013344639</id><published>2009-04-15T15:12:00.001+05:30</published><updated>2009-04-15T15:13:11.098+05:30</updated><title type='text'>Hardware RAID creation on SUN Sparc</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-3346785064013344639?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://docs.sun.com/source/819-2549-12/ontario-volume_man.html' title='Hardware RAID creation on SUN Sparc'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/3346785064013344639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=3346785064013344639' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/3346785064013344639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/3346785064013344639'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/04/hardware-raid-creation-on-sun-sparc.html' title='Hardware RAID creation on SUN Sparc'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-6951620811878661710</id><published>2009-04-13T15:31:00.006+05:30</published><updated>2012-01-05T14:10:10.346+05:30</updated><title type='text'></title><content type='html'>Monitor your server using customise OID.&lt;br /&gt;----------------------------------------------&lt;br /&gt;rwcommunity commstring xxx.xxx.xxx.xxx&lt;br /&gt;com2sec local localhost public&lt;br /&gt;com2sec mon_server xxx.xxx.xxx.xxx commstring&lt;br /&gt;##### Second, map the security names into group names:&lt;br /&gt;group MyROSystem v2c mon_server&lt;br /&gt;##### Third, create a view for us to let the groups have rights to:&lt;br /&gt;view all included .1 80&lt;br /&gt;view system included .iso.org.dod.internet.mgmt.mib-2.system&lt;br /&gt;##### Finally, grant the 2 groups access to the 1 view with different&lt;br /&gt;# write permissions:&lt;br /&gt;# context sec.model sec.level match read write notif&lt;br /&gt;access mon_server "" any noauth exact system none none&lt;br /&gt;&lt;br /&gt;##CUSTOM OID&lt;br /&gt;exec &lt;description&gt;/bin/sh /location-of-the-script.sh&lt;br /&gt;exec &lt;description&gt;/bin/sh /location-of-the-script1.sh&lt;br /&gt;exec &lt;description&gt;/bin/sh /location-of-the-script2.sh&lt;br /&gt;service snmdp restart&lt;br /&gt;&lt;br /&gt;To test the first,second and so on custom script response using snmpwalk client&lt;br /&gt;snmpwalk -v2c -c commstring &lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;1.3.6.1.4.1.2021.8.1.101.1&lt;br /&gt;snmpwalk -v2c -c commstring &lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;1.3.6.1.4.1.2021.8.1.101.2&lt;br /&gt;snmpwalk -v2c -c commstring &lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;1.3.6.1.4.1.2021.8.1.101.3&lt;br /&gt;&lt;br /&gt;To collect all the snmp OID parameters.&lt;br /&gt;snmpwalk -v2c -c commstring &lt;xxx.xxx.xxx.xxx&gt;-O n&lt;br /&gt;OID for HP servers can be found under file /opt/hp/hp-snmp-agents/mibs/cmaobjects.mibdef&lt;br /&gt;Note: HP Proliant Support Pack should be installed.&lt;br /&gt;======&lt;br /&gt;Below given tips are from "&lt;a href="http://agiletesting.blogspot.com/2005/10/mini-howto-2-system-monitoring-via.html"&gt;http://agiletesting.blogspot.com/2005/10/mini-howto-2-system-monitoring-via.html&lt;/a&gt;" Thanks to the wonderful writeup&lt;br /&gt;=====&lt;br /&gt;&lt;br /&gt;Document sourced from http://www.debianadmin.com/linux-snmp-oids-for-cpumemory-and-disk-statistics.html&lt;br /&gt;&lt;br /&gt;Thank you for sharing&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Paritions can be monitored by making parition entries in the /etc/snmp/snmpd.conf file&lt;br /&gt;disk /&lt;br /&gt;disk /boot&lt;br /&gt;disk /usr&lt;br /&gt;snmpwalk -v2c -c "xxxx" &lt;ipaddr&gt;.1.3.6.1.4.1.2021.9.1.7.1 ( 1 is for / 2 for /boot and so on)&lt;br /&gt;snmpwalk -v2c -c "xxxx" &lt;ipaddr&gt;.1.3.6.1.4.1.2021.9.1.7.2&lt;br /&gt;snmpwalk -v2c -c "xxxx" &lt;ipaddr&gt;.1.3.6.1.4.1.2021.9.1.7.3&lt;br /&gt;&lt;br /&gt;For monitoring processes make entries in /etc/snmp/snmpd.conf&lt;br /&gt;proc java&lt;br /&gt;proc postmaster&lt;br /&gt;proc mysqld&lt;br /&gt;snmpwalk -v2c -c "xxxx" &lt;ipaddr&gt;.1.3.6.1.4.1.2021.2.1.5.1 (1 is for java 2 for postmastet and so on)&lt;br /&gt;snmpwalk -v2c -c "xxxx" &lt;ipaddr&gt;.1.3.6.1.4.1.2021.2.1.5.2&lt;br /&gt;snmpwalk -v2c -c "xxxx" &lt;ipaddr&gt;.1.3.6.1.4.1.2021.2.1.5.3&lt;br /&gt;&lt;br /&gt;For Load Monitoring make following entires in /etc/snmp/snmp.conf file.&lt;br /&gt;load 5 5 5&lt;br /&gt;snmpwalk -v2c -c "xxxx" &lt;ipaddr&gt;.1.3.6.1.4.1.2021.10.1.3.1 ( 1 for 1min, 2 for 5min, 3 for 15min usage report)&lt;br /&gt;snmpwalk -v2c -c "xxxx" &lt;ipaddr&gt;.1.3.6.1.4.1.2021.10.1.3.2&lt;br /&gt;snmpwalk -v2c -c "xxxx" &lt;ipaddr&gt;.1.3.6.1.4.1.2021.10.1.3.3&lt;br /&gt;&lt;br /&gt;For various CPU Utilisation Metrics use&lt;br /&gt;snmpwalk -v2c -c "xxxx" &lt;ipaddr&gt;.1.3.6.1.4.1.2021.11&lt;br /&gt;For various Memory Utilisation Metrics use&lt;br /&gt;snmpwalk -v2c -c "xxxx" &lt;ipaddr&gt;.1.3.6.1.4.1.2021.4&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/description&gt;&lt;/description&gt;&lt;/description&gt;&lt;div&gt;&lt;description&gt;&lt;description&gt;&lt;description&gt;&lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;&lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;&lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;&lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;br /&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/description&gt;&lt;/description&gt;&lt;/description&gt;&lt;/div&gt;&lt;div&gt;&lt;description&gt;&lt;description&gt;&lt;description&gt;&lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;&lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;&lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;&lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;To get the OID from a client.&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/description&gt;&lt;/description&gt;&lt;/description&gt;&lt;/div&gt;&lt;div&gt;&lt;description&gt;&lt;description&gt;&lt;description&gt;&lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;&lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;&lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;&lt;xxx.xxx.xxx.xxx&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;&lt;ipaddr&gt;snmpwalk -v2c -On -c "XXXXX" Servername&lt;br /&gt;This will list all the servers parameter and the OID details.&lt;br /&gt;&lt;br /&gt;CPU&lt;br /&gt;percentage of user CPU time: .1.3.6.1.4.1.2021.11.9.0&lt;br /&gt;raw user cpu time: .1.3.6.1.4.1.2021.11.50.0&lt;br /&gt;percentages of system CPU time: .1.3.6.1.4.1.2021.11.10.0&lt;br /&gt;raw system cpu time: .1.3.6.1.4.1.2021.11.52.0&lt;br /&gt;percentages of idle CPU time: .1.3.6.1.4.1.2021.11.11.0&lt;br /&gt;raw idle cpu time: .1.3.6.1.4.1.2021.11.53.0&lt;br /&gt;raw nice cpu time: .1.3.6.1.4.1.2021.11.51.0&lt;br /&gt;&lt;br /&gt;Memory Statistics&lt;br /&gt;&lt;br /&gt;Total Swap Size: .1.3.6.1.4.1.2021.4.3.0&lt;br /&gt;Available Swap Space: .1.3.6.1.4.1.2021.4.4.0&lt;br /&gt;Total RAM in machine: .1.3.6.1.4.1.2021.4.5.0&lt;br /&gt;Total RAM used: .1.3.6.1.4.1.2021.4.6.0&lt;br /&gt;Total RAM Free: .1.3.6.1.4.1.2021.4.11.0&lt;br /&gt;Total RAM Shared: .1.3.6.1.4.1.2021.4.13.0&lt;br /&gt;Total RAM Buffered: .1.3.6.1.4.1.2021.4.14.0&lt;br /&gt;Total Cached Memory: .1.3.6.1.4.1.2021.4.15.0&lt;br /&gt;&lt;br /&gt;Disk Statistics&lt;br /&gt;&lt;br /&gt;The snmpd.conf needs to be edited. Add the following (assuming a machine with a single ‘/’ partition):&lt;br /&gt;&lt;br /&gt;disk / 100000 (or)&lt;br /&gt;&lt;br /&gt;includeAllDisks 10% for all partitions and disks&lt;br /&gt;&lt;br /&gt;The OIDs are as follows&lt;br /&gt;&lt;br /&gt;Path where the disk is mounted: .1.3.6.1.4.1.2021.9.1.2.1&lt;br /&gt;Path of the device for the partition: .1.3.6.1.4.1.2021.9.1.3.1&lt;br /&gt;Total size of the disk/partion (kBytes): .1.3.6.1.4.1.2021.9.1.6.1&lt;br /&gt;Available space on the disk: .1.3.6.1.4.1.2021.9.1.7.1&lt;br /&gt;Used space on the disk: .1.3.6.1.4.1.2021.9.1.8.1&lt;br /&gt;Percentage of space used on disk: .1.3.6.1.4.1.2021.9.1.9.1&lt;br /&gt;Percentage of inodes used on disk: .1.3.6.1.4.1.2021.9.1.10.1&lt;br /&gt;&lt;br /&gt;System Uptime: .1.3.6.1.2.1.1.3.0&lt;br /&gt;&lt;br /&gt;Examples&lt;br /&gt;&lt;br /&gt;These Commands you need to run on the SNMP server&lt;br /&gt;&lt;br /&gt;Get available disk space for / on the target host&lt;br /&gt;#snmpget -v 1 -c “community” target_name_or_ip .1.3.6.1.4.1.2021.9.1.7.1&lt;br /&gt;&lt;br /&gt;this will return available disk space for the first entry in the ‘disk’ section of snmpd.conf; replace 1 with n for the nth entry&lt;br /&gt;&lt;br /&gt;Get the 1-minute system load on the target host&lt;br /&gt;#snmpget -v 1 -c “community” target_name_or_ip .1.3.6.1.4.1.2021.10.1.3.1&lt;br /&gt;&lt;br /&gt;Get the 5-minute system load on the target host&lt;br /&gt;#snmpget -v 1 -c “community” target_name_or_ip .1.3.6.1.4.1.2021.10.1.3.2&lt;br /&gt;&lt;br /&gt;Get the 15-minute system load on the target host&lt;br /&gt;#snmpget -v 1 -c “community” target_name_or_ip .1.3.6.1.4.1.2021.10.1.3.3&lt;br /&gt;&lt;br /&gt;Get amount of available swap space on the target host&lt;br /&gt;#snmpget -v 1 -c “community” target_name_or_ip .1.3.6.1.4.1.2021.4.4.0&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/ipaddr&gt;&lt;/xxx.xxx.xxx.xxx&gt;&lt;/description&gt;&lt;/description&gt;&lt;/description&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-6951620811878661710?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/6951620811878661710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=6951620811878661710' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6951620811878661710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6951620811878661710'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/04/monitor-your-server-using-customise-oid.html' title=''/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-2583640492334729273</id><published>2009-04-06T15:49:00.000+05:30</published><updated>2009-04-06T15:50:38.478+05:30</updated><title type='text'></title><content type='html'>#!/bin/bash################################################################################## Script for parsing IronPort logs for collecting top mail senders every hour on Iron Port Server  ##################################################################################&lt;br /&gt;#####Collecting the Program Start time#####&lt;br /&gt;echo "Program Start time `date +%T`" &gt; /tmp/time&lt;br /&gt;##### Check if the Script is started correctly #####&lt;br /&gt;if [ $# != 1 ]; then    echo "Improper syntax" "Expected syntax [script.sh &lt;reference&gt;]"exitelseecho ""fi&lt;br /&gt;##### Setting Variable #####ORG_FILE=$1MAILTO="&lt;a href="mailto:sudhir.ariga@ge.com"&gt;sudhir.ariga@ge.com&lt;/a&gt; &lt;a href="mailto:retheesh.rkumar@ge.com"&gt;retheesh.rkumar@ge.com&lt;/a&gt;"MAIL=/usr/bin/mutt&lt;br /&gt;##### Collecting only required Data from the IronPort Logs #####&lt;br /&gt;grep "interface PublicNet (3\RID [0-9]" $ORG_FILE &gt; /tmp/newreffileSOURCE_FILE=/tmp/newreffile&lt;br /&gt;##### Collecting the HOURS for which the logs to be parsed #####awk '{print $4}' $SOURCE_FILE cut -c 1,2 uniq &gt; /tmp/hrsfileHRSFILE=/tmp/hrsfile&lt;br /&gt;###Collecting data for hour wise ####while read HRSdo&lt;br /&gt;grep " $HRS:" $SOURCE_FILE &gt; /tmp/reffileREFFILE=/tmp/reffile&lt;br /&gt;DATESTAMP=`head -1 $SOURCE_FILE  awk '{print $1,$2,$3}'`TIMESTAMP=`echo $HRS`echo "===================================="  &gt; /tmp/masterecho " TOP MAIL SENDERS FOR $DATESTAMP at $HRS"  &gt;&gt; /tmp/masterecho "===================================="  &gt;&gt; /tmp/master&lt;br /&gt;#### Collecting the ICID and IP address details #####grep "(3." $SOURCE_FILE &gt; /tmp/ipfileIPFILE=/tmp/ipfile&lt;br /&gt;#################################################&lt;br /&gt;##### COLLECT ALL UNIQ ICID FROM THE REFERECE FILE #####grep "(3." $REFFILE uniq -u awk '{print $10}'grep '^[0-9]' &gt; /tmp/icidfileICID=/tmp/icidfile&lt;br /&gt;while read LINEdo        TOTALMAILS=`grep $LINE $SOURCE_FILE grep RID wc -l`        IPADDRESS=`grep $LINE $IPFILE grep "(3." awk '{print $15}'`        echo -e "$IPADDRESS \t\t $TOTALMAILS" &gt;&gt; /tmp/outputdone &lt; $ICID&lt;br /&gt;##### Collect the Uniq IP address and the mail counts #####awk '{print $1}' /tmp/output  sort -u  &gt; /tmp/uniqipUNIQ=/tmp/uniqip&lt;br /&gt;while read IPdo   MCOUNT=`grep $IP /tmp/output  awk '{ sum += $2 };END { print sum }'`#   echo "$ORG_FILE - HOUR $HRS" &gt; /tmp/result   echo -e "$MCOUNT \t \t $IP" &gt;&gt; /tmp/resultdone &lt; $UNIQ&lt;br /&gt;RESULT=/tmp/result&lt;br /&gt;sort -rn $RESULT head -10 &gt;&gt; /tmp/mastersort -rn $RESULT &gt; /tmp/mailattachment.txtMATTACHMENT=/tmp/mailattachment.txt&lt;br /&gt;mv $RESULT $ORG_FILE-`date +%T-%F-%N`echo "Program End time `date +%T`" &gt;&gt; /tmp/timemutt -s "Top 10 Mail Senders" -a $MATTACHMENT $MAILTO &lt; /tmp/mastersleep 10rm -f /tmp/outputdone &lt; $HRSFILE&lt;br /&gt;######### END OF PROGRAM ##############&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-2583640492334729273?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/2583640492334729273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=2583640492334729273' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2583640492334729273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2583640492334729273'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/04/binbash-script-for-parsing-ironport.html' title=''/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-6528351253089077079</id><published>2009-03-31T11:17:00.004+05:30</published><updated>2009-03-31T11:20:20.344+05:30</updated><title type='text'>NTP Configuration file.</title><content type='html'>NTP Configuration,&lt;br /&gt;vi /etc/ntp.conf&lt;br /&gt;restrict default nomodify notrap noquery&lt;br /&gt;restrict 127.0.0.1&lt;br /&gt;server (NTP Server IP/Name)&lt;ntp&gt;&lt;br /&gt;fudge 127.127.1.0 stratum 10&lt;br /&gt;driftfile /var/lib/ntp/drift&lt;br /&gt;broadcastdelay 0.008&lt;br /&gt;authenticate yes&lt;br /&gt;restrict (NTP Server IP/Name) &lt;ntp&gt;mask 255.255.255.255 nomodify notrap noquerykeys /etc/ntp/keys&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-6528351253089077079?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/6528351253089077079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=6528351253089077079' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6528351253089077079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/6528351253089077079'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/03/ntp-configuration-file.html' title='NTP Configuration file.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-2978003122655300500</id><published>2009-01-09T20:46:00.003+05:30</published><updated>2009-01-09T21:11:42.074+05:30</updated><title type='text'>Send SMS to mobile thru email.</title><content type='html'>to  address: countrycodemobilenumer&lt;countrycode&gt;&lt;mobilenumber&gt;@airtelkk.com   (&lt;/mobilenumber&gt;&lt;/countrycode&gt;airtelkk&lt;countrycode&gt;&lt;mobilenumber&gt; stands for Airtel in Karnataka)&lt;br /&gt;   subject - short subj.&lt;br /&gt;   short - message in body.&lt;br /&gt;&lt;br /&gt;   and send it away.&lt;/mobilenumber&gt;&lt;/countrycode&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-2978003122655300500?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/2978003122655300500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=2978003122655300500' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2978003122655300500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2978003122655300500'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2009/01/send-sms-to-mobile-thru-email.html' title='Send SMS to mobile thru email.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-2902400866374902570</id><published>2008-12-29T15:35:00.003+05:30</published><updated>2009-03-02T16:41:51.662+05:30</updated><title type='text'>HPACUCLI commands</title><content type='html'>&lt;span style="font-family:verdana;font-size:85%;"&gt;To find HARDWARE RAID and DISK information (For HP servers / Smart Array control card – Need “hpacucli” rpm)+++++++ctrl all showctrl slot=0 showctrl slot=1 logicaldrive all show ctrl slot=1 physicaldrive all show+++++++[root@Server01 root]# hpacucliHP Array Configuration Utility CLI 7.40.7.0Detecting Controllers...Done.Type "help" for a list of supported commands.Type "exit" to close the console.=&gt; ctrl all show&lt;br /&gt;Smart Array 5i in Slot 0 ()&lt;br /&gt;=&gt; ctrl all show status&lt;br /&gt;Smart Array 5i in Slot 0 Controller Status: OK Cache Status: OK&lt;br /&gt;=&gt; ctrl slot=0 show&lt;br /&gt;Controller Smart Array 5i in Slot 0 Bus Interface: pci slot: 0 RAID 6 (ADG) status: False Controller Status: OK Chassis Slot: 1 Hardware Revision: Rev B Firmware Version: 2.58 Rebuild Priority: Low Expand Priority: Low Surface Scan Delay: 15 sec Cache Board Present: True Cache Status: OK Accelerator Ratio: 100/0 (read/write) Read Cache Size: 48 MB Write Cache Size: 0 MB Total Cache Size: 48 MB Battery Backed Cache Size: 0 MB Non Battery Backed Cache Size: 48 MB Battery Pack Count: 0&lt;br /&gt;=&gt; ctrl slot=0 array all show&lt;br /&gt;Smart Array 5i in Slot 0 array A (Parallel SCSI, Unused Space: 0 MB)&lt;br /&gt;=&gt; ctrl slot=0 logicaldrive all show&lt;br /&gt;Smart Array 5i in Slot 0&lt;br /&gt;array A logicaldrive 1 (33.9 GB, 1+0, OK)&lt;br /&gt;=&gt; ctrl slot=0 physicaldrive all show&lt;br /&gt;Smart Array 5i in Slot 0&lt;br /&gt;array A physicaldrive 2:0 (port 2:id 0 , Parallel SCSI, 36.4 GB, OK) physicaldrive 2:1 (port 2:id 1 , Parallel SCSI, 36.4 GB, OK)&lt;/span&gt;&lt;br /&gt;&lt;p&gt;---------------&lt;/p&gt;&lt;p&gt;/sbin/hplog -v will show all the Hardware alert logs regarding th HP Server&lt;/p&gt;&lt;p&gt;/sbin/hplog -t  -- Display current thermal sensor data&lt;/p&gt;&lt;p&gt;/sbin/hplog -f Display current fan data&lt;/p&gt;&lt;p&gt;/sbin/hplog -p Display current power data&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-2902400866374902570?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://people.freebsd.org/~jcagle/hpacucli-readme' title='HPACUCLI commands'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/2902400866374902570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=2902400866374902570' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2902400866374902570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2902400866374902570'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2008/12/hpacucli-commands.html' title='HPACUCLI commands'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-4861531944870511299</id><published>2008-12-29T14:23:00.001+05:30</published><updated>2008-12-29T14:24:57.854+05:30</updated><title type='text'>remove blank spaces, tabs and blank lines from file.</title><content type='html'>tr -d ' \t\n\r' &lt; filename&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-4861531944870511299?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/4861531944870511299/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=4861531944870511299' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4861531944870511299'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/4861531944870511299'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2008/12/remove-blank-spaces-tabs-from-file.html' title='remove blank spaces, tabs and blank lines from file.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-5356592283733403607</id><published>2008-08-28T18:18:00.000+05:30</published><updated>2008-08-28T18:28:34.068+05:30</updated><title type='text'>ALOM command</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-5356592283733403607?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://docs.sun.com/source/817-5481-11/common_tasks.html#91278' title='ALOM command'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/5356592283733403607/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=5356592283733403607' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/5356592283733403607'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/5356592283733403607'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2008/08/alom-command.html' title='ALOM command'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-7506268077809319048</id><published>2008-08-26T20:15:00.001+05:30</published><updated>2008-08-28T12:30:39.697+05:30</updated><title type='text'>OBP upgrade procedure on Solaris.</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-7506268077809319048?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://sunsolve.sun.com/search/document.do?assetkey=1-21-118323-01-1' title='OBP upgrade procedure on Solaris.'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/7506268077809319048/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=7506268077809319048' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/7506268077809319048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/7506268077809319048'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2008/08/obp-upgrade-procedure-on-solaris.html' title='OBP upgrade procedure on Solaris.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-8450039724572283182</id><published>2008-08-21T16:07:00.002+05:30</published><updated>2008-08-21T16:12:25.432+05:30</updated><title type='text'></title><content type='html'>&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;=VLOOKUP(E3,C:C,1,0)&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;Vlookup for checking the difference between two columns.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;E3 is from the column where you want compare.C:C is the entire column where the other set of data is there for comparision.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:trebuchet ms;font-size:85%;"&gt;1,0 - :D no idea.... ---- But it works...&lt;/span&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-8450039724572283182?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/8450039724572283182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=8450039724572283182' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8450039724572283182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/8450039724572283182'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2008/08/vlookupe3cc10-vlookup-for-checking.html' title=''/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-2121241771906570574</id><published>2008-03-28T20:09:00.002+05:30</published><updated>2008-03-28T20:16:23.335+05:30</updated><title type='text'>NetBackup Commands</title><content type='html'>&lt;span style="font-size:85%;"&gt;backup Version Details&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;--------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;more /usr/openv/netbackup/bin/version&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Media Manager Version&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;-----------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;more /usr/openv/volmgr/bin/version&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Check the Status of the Tape Drive&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;----------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;/usr/openv/volmgr/bin/tpconfig -d or -dl&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;/usr/openv/volmgr/bin/vmoprcmd -d&lt;br /&gt;UP/Down the Tape Library.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;-------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;/usr/openv/volmgr/bin/vmoprcmd -up 0        #--- UP &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;/usr/openv/volmgr/bin/vmoprcmd -down 0    #--Down&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;Check the NetBackup Services.&lt;br /&gt;--------------------------------&lt;br /&gt;/usr/openv/netbackup/bin/bpps -a&lt;br /&gt;Stop / Start the NetBakcup Serivce&lt;br /&gt;-----------------------------------&lt;br /&gt;/usr/openv/netbackup/bin/goodies/K77netbackup   #---Kill all the services.&lt;br /&gt;/usr/openv/netbackup/bin/goodies/S77netbackup   # ---- Start all the services&lt;br /&gt;&lt;br /&gt;Run the Inventory Check on the Tape Library&lt;br /&gt;---------------------------------------------&lt;br /&gt;/usr/openv/volmgr/bin/vmcheckxxx -rt tld -rn 0&lt;br /&gt;&lt;br /&gt;Update the Library content to the Scratch Pool (NetBackup)&lt;br /&gt;------------------------------------------&lt;br /&gt;/usr/openv/volmgr/bin/vmupdate -rt tld -rn 0&lt;br /&gt;&lt;br /&gt;Netbackup Menu Window for Netbackup operations&lt;br /&gt;-------------------------------------------------&lt;br /&gt;/usr/openv/netbackup/bin/bpadm&lt;br /&gt;&lt;br /&gt;Check the Available Media on the Backup server&lt;br /&gt;--------------------------------------&lt;br /&gt;/usr/openv/netbackup/bin/goodies/available_media    #---------- From Catalogue&lt;br /&gt;/usr/openv/volmgr/bin/vmquery -rn 0 -bx             #-----------From Tape Library.&lt;br /&gt;&lt;br /&gt;View the contents of the Tape&lt;br /&gt;------------------------------&lt;br /&gt;/usr/openv/netbackup/bin/admincmd/bpimmedia -L -mediaid R011L1&lt;br /&gt;&lt;br /&gt;Expire the Media details from the Catalogue&lt;br /&gt;-----------------------------------------&lt;br /&gt;/usr/openv/netbackup/bin/admincmd/bpexpdate -d 0 -ev R011L1 -force&lt;br /&gt;&lt;br /&gt;Delete the contents of a Media&lt;br /&gt;-------------------------------------&lt;br /&gt;/usr/openv/netbackup/bin/admincmd/bplabel -ev R011L1 -d dlt -p NetBackup&lt;br /&gt;&lt;br /&gt;List all the Client Backup image List details.&lt;br /&gt;------------------------------------------&lt;br /&gt;/usr/openv/netbackup/bin/admincmd/bpimagelist -U&lt;br /&gt;&lt;br /&gt;Freeze a Media&lt;br /&gt; ---------------&lt;br /&gt;/usr/openv/netbackup/bin/admincmd/bpmedia -freeze -ev R013L1&lt;br /&gt;&lt;br /&gt;Check the Backup Status&lt;br /&gt;--------------------------&lt;br /&gt;/usr/openv/netbackup/bin/admincmd/bpdbjobs -summary&lt;br /&gt;/usr/openv/netbackup/bin/admincmd/bpdbjobs -report       #------ Will give more exhaustive information.&lt;br /&gt;&lt;br /&gt;Check all the Class files information on Master Server&lt;br /&gt;----------------------------------------------------&lt;br /&gt;/usr/openv/netbackup/bin/admincmd/bpcllist -allclasses -U&lt;br /&gt;/usr/openv/netbackup/bin/admincmd/bpcllist adhoc-gejpfp1_root -U     #---------- Individual Class file.&lt;br /&gt;&lt;br /&gt;Set the Class file as Active/Inactive&lt;br /&gt; -------------------------------------&lt;br /&gt;/usr/openv/netbackup/bin/admincmd/bpclinfo adhoc-gejpfd1-6206323 -modify -active   #-------- Set Active&lt;br /&gt;/usr/openv/netbackup/bin/admincmd/bpclinfo adhoc-gejpfd1-6206323 -modify -inactive   # -------- Set Inactive.&lt;br /&gt;Check the Status of the Backup Status.  (Get the Active Backup ID from bpdbjobs -report)&lt;br /&gt;--------------------------------------&lt;br /&gt;/usr/openv/netbackup/bin/admincmd/bperror -jobid 13860 -U         #----- Take the Job ID from here.&lt;br /&gt;tail -f /usr/openv/netbackup/db/jobs/13870.1206700777.t     #------- File will show which file is getting written.&lt;br /&gt;&lt;br /&gt;Check the Tape Library Cleaning Status&lt;br /&gt;-------------------------------------&lt;br /&gt;/usr/openv/volmgr/bin/tpclean -L&lt;br /&gt;/usr/openv/netbackup/bin/goodies/cleanstats&lt;br /&gt;&lt;br /&gt;Reset the Cleaning Status to Zero&lt;br /&gt;--------------------------------&lt;br /&gt;/usr/openv/volmgr/bin/tpclean -M Drive0&lt;br /&gt;&lt;br /&gt;Add Tape to the Clean Tape pool (None)&lt;br /&gt;---------------------------------------&lt;br /&gt;/usr/openv/netbackup/bin/admincmd/bplabel -ev Q949L1 -d dlt_clean -p None&lt;br /&gt;&lt;br /&gt;View Rule for Cleaning Tape&lt;br /&gt;------------------------------&lt;br /&gt;/usr/openv/volmgr/bin/vmrule -listall&lt;br /&gt;&lt;br /&gt;Add/Remove rule for cleaning Tape.&lt;br /&gt;-----------------------------------&lt;br /&gt;/usr/openv/volmgr/bin/vmrule -add Q949L1 dlt2_clean None 25 "Cleaning Tape"&lt;br /&gt;/usr/openv/volmgr/bin/vmrule -del Q949L1 dlt2_clean None 25 "Cleaning Tape"&lt;br /&gt;&lt;br /&gt;Manually Clean the Tape Drive&lt;br /&gt;-----------------------------&lt;br /&gt;/usr/openv/volmgr/bin/tpclean -C Drive0&lt;/span&gt;&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/8818498-2121241771906570574?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/2121241771906570574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=2121241771906570574' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2121241771906570574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2121241771906570574'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2008/03/netbackup-commands.html' title='NetBackup Commands'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-2165819109712331116</id><published>2007-12-20T01:13:00.000+05:30</published><updated>2007-12-20T01:15:16.349+05:30</updated><title type='text'>Programs</title><content type='html'>To read lines from a file and echo the line --- (do can be tweaked to match the requirement)&lt;br /&gt;while read myline;do  echo $myline; done &lt; inputfile&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-2165819109712331116?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/2165819109712331116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=2165819109712331116' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2165819109712331116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/2165819109712331116'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2007/12/programs.html' title='Programs'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-1780192815298067716</id><published>2007-07-24T03:46:00.000+05:30</published><updated>2007-07-24T03:59:03.276+05:30</updated><title type='text'>Introduce LMV drives to Linux OS</title><content type='html'>Introducing LVM drives (storage) to new operating system.&lt;br /&gt;====================================&lt;br /&gt;&lt;br /&gt;When lvm drives are introducted to a new operating system. They will not be detected logical volumes.&lt;br /&gt;&lt;br /&gt;vgscan - Will detect all the available logical volumes and make necessary enteries in the lvm configuation.&lt;br /&gt;&lt;br /&gt;# vgscan  Reading all physical volumes.  This may take a while...  Found volume group "lvm_data3" using metadata type lvm2&lt;br /&gt;Found volume group "lvm_data2" using metadata type lvm2&lt;br /&gt;Found volume group "lvm_data1" using metadata type lvm2&lt;br /&gt;&lt;br /&gt;# lvscan&lt;br /&gt;inactive          '/dev/lvm_data3/lvm_bkp' [271.00 GB] inherit&lt;br /&gt;inactive          '/dev/lvm_data2/lvm_stores' [169.00 GB] inherit &lt;br /&gt;inactive          '/dev/lvm_data1/lvm_redo' [60.00 GB] inherit &lt;br /&gt;inactive          '/dev/lvm_data1/lvm_log' [30.00 GB] inherit &lt;br /&gt;inactive          '/dev/lvm_data1/lvm_conf' [20.00 GB] inherit &lt;br /&gt;inactive          '/dev/lvm_data1/lvm_mysql' [50.00 GB] inherit &lt;br /&gt;inactive          '/dev/lvm_data1/lvm_index' [25.00 GB] inherit &lt;br /&gt;inactive          '/dev/lvm_data1/lvm_lgr' [35.00 GB] inherit&lt;br /&gt;&lt;br /&gt;The devices are detected as inactive to make the devices active&lt;br /&gt;&lt;br /&gt;vgchange -ay lvm_data3&lt;br /&gt;vgchange -ay lvm_data2&lt;br /&gt;vgchange -ay lvm_data1&lt;br /&gt;&lt;br /&gt;lvscan will show all the drives as active.&lt;br /&gt;#lvscan&lt;br /&gt;ACTIVE            '/dev/lvm_data3/lvm_bkp' [271.00 GB] inherit &lt;br /&gt;ACTIVE            '/dev/lvm_data2/lvm_stores' [169.00 GB] inherit &lt;br /&gt;ACTIVE            '/dev/lvm_data1/lvm_redo' [60.00 GB] inherit &lt;br /&gt;ACTIVE            '/dev/lvm_data1/lvm_log' [30.00 GB] inherit &lt;br /&gt;ACTIVE            '/dev/lvm_data1/lvm_conf' [20.00 GB] inherit &lt;br /&gt;ACTIVE            '/dev/lvm_data1/lvm_mysql' [50.00 GB] inherit &lt;br /&gt;ACTIVE            '/dev/lvm_data1/lvm_index' [25.00 GB] inherit &lt;br /&gt;ACTIVE            '/dev/lvm_data1/lvm_lgr' [35.00 GB] inherit&lt;br /&gt;&lt;br /&gt;you should be able to mount the filesystem now&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-1780192815298067716?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/1780192815298067716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=1780192815298067716' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/1780192815298067716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/1780192815298067716'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2007/07/introduce-lmv-drives-to-linux-os.html' title='Introduce LMV drives to Linux OS'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-7145718799666488097</id><published>2007-06-29T03:01:00.017+05:30</published><updated>2011-12-20T14:00:22.433+05:30</updated><title type='text'>commands</title><content type='html'>&lt;div style="font-family: verdana;font-family:verdana;" &gt;&lt;span style="font-size:100%;"&gt;1. List the files in current directory sorted by size ? - ls -l grep ^- sort -nr&lt;br /&gt;2. List the hidden files in current directory ? - ls -a1 grep "^\."&lt;br /&gt;3. Delete blank lines in a file ? - cat sample.txt grep -v ‘^$’ &amp;gt; new_sample.txt&lt;br /&gt;4. Search for a sample string in particular files ? - grep “Debug” *.confHere grep uses the string “Debug” to search in all files with extension“.conf” under current directory.&lt;br /&gt;5. Display the last newly appending lines of a file during appendingdata to the same file by some processes ? - tail –f Debug.logHere tail shows the newly appended data into Debug.log by some processes/user.&lt;br /&gt;6. Display the Disk Usage of file sizes under each directory in currentDirectory ? - du -k * sort –nr (or) du –k . sort -nr&lt;br /&gt;7. Change to a directory, which is having very long name ? - cd CDMA_3X_GEN*Here original directory name is – “CDMA_3X_GENERATION_DATA”.&lt;br /&gt;8. Display the top most process utilizing most CPU ? - top –b 1&lt;br /&gt;9. Set the Display automatically for the current new user ? - export DISPLAY=`eval ‘who am i cut -d"(" -f2 cut -d")" -f1′`Here in above command, see single quote, double quote, grave ascent is used. Observe carefully.&lt;br /&gt;10. Display the processes, which are running under yourusername ? - ps –aef grep MaheshvjHere, Maheshvj is the username.&lt;br /&gt;11. List some Hot Keys for bash shell ? - Ctrl+l – Clears the Screen. Ctrl+r – Does a search in previously given commands in shell. Ctrl+u - Clears the typing before the hotkey. Ctrl+a – Places cursor at the beginning of the command at shell. Ctrl+e – Places cursor at the end of the command at shell. Ctrl+d – Kills the shell. Ctrl+z – Places the currently running process into background.&lt;br /&gt;12. Display the files in the directory by file size ? - ls –ltr sort –nr –k 5&lt;br /&gt;13. How to save man pages to a file ? - man &lt;command&gt;&lt;/command&gt;col –b &amp;gt; &lt;output-file&gt;Example : man top col –b &amp;gt; top_help.txt&lt;br /&gt;14. How to know the date &amp;amp; time for – when script is executed ? - Add the following script line in shell script.eval echo "Script is executed at `date`" &amp;gt;&amp;gt; timeinfo.infHere, “timeinfo.inf” contains date &amp;amp; time details ie., when script is executed and history related to execution.&lt;br /&gt;15. How do you find out drive statistics ? - iostat -E&lt;br /&gt;16. Display disk usage in Kilobytes ? - du -k&lt;br /&gt;17. Display top ten largest files/directories ? - du -sk * sort -nr head&lt;br /&gt;18. How much space is used for users in kilobytes ? - quot -af&lt;br /&gt;19. How to create null file ? - cat /dev/null &amp;gt; filename1&lt;br /&gt;20. Access common commands quicker ? - ps -ef grep -i $@&lt;br /&gt;21. Display the page size of memory ? - pagesize -a&lt;br /&gt;22. Display Ethernet Address arp table ? - arp -a&lt;br /&gt;23. Display the no.of active established connections to localhost ? - netstat -a grep EST&lt;br /&gt;24. Display the state of interfaces used for TCP/IP traffice ? - netstat -i&lt;br /&gt;25. Display the parent/child tree of a process ? - ptree &lt;pid&gt;Example: ptree 1267&lt;br /&gt;26. Show the working directory of a process ? - pwdx &lt;pid&gt;Example: pwdx 1267&lt;br /&gt;27. Display the processes current open files ? - pfiles &lt;pid&gt;Example: pfiles 1267&lt;br /&gt;28. Display the inter-process communication facility status ? - ipcs&lt;br /&gt;29. Alternative for top command ? - prstat -a&lt;br /&gt;30. Run grep for multiple strings? - grep "string1\string2"&lt;br /&gt;31 search multiple strings on the same line egrep 'string1.*string2' filename&lt;br /&gt;32. how to remove to values from using sed - sed 's/value1\value2//g'&lt;br /&gt;&lt;br /&gt;Sed&lt;br /&gt;----&lt;br /&gt;change value in a file recursively and display ? - sed 's/oldvalue/newvalue/g' filename &lt;/pid&gt;&lt;/pid&gt;&lt;/pid&gt;&lt;/output-file&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana;font-family:verdana;" &gt;&lt;span style="font-size:100%;"&gt;Remove a special character from file eg; "/" - sed -e 's,/,,g' Test - Change the delimiter to "," &lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana;font-family:verdana;" &gt;&lt;span style="font-size:100%;"&gt;Use underscore ( _) as a paramter when you are trying to search and replace anything that involves front/backslash - This avoids the delimiter and the front slash confussion&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana;font-family:verdana;" &gt;&lt;span style="font-size:100%;"&gt;Eg: To change /usr/sbin/test to /var/log/test in a file&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana;font-family:verdana;" &gt;&lt;span style="font-size:100%;"&gt;1. sed 's_/usr/sbin/test_/var/log/test_g' file &amp;gt; file-new&lt;br /&gt;2. sed -s '/startline/,/endline/p' filename -- This will collect all the lines between startline and endline including both startline and endline.&lt;br /&gt;3. sed -n 5p &lt;filename&gt;-- Will print the line5 from the file. - To read a particular line from a file&lt;/filename&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana;font-family:verdana;" &gt;&lt;span style="font-size:100%;"&gt;4. awk NR==5 &lt;filename&gt;-- -- Will print the line5 from the file. - To read a particular line from a file&lt;br /&gt;5. cat output| awk '{FS=" " ; $0=$0 ; print $NF"|"$0}' | sort -rn | cut -d"|" -f2 |head -15    -- Sort file based on the last field with irregular number of fields&lt;br /&gt;&lt;/filename&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana;font-family:verdana;" &gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;5. From line&lt;br /&gt;    open("/lib64/librt.so.1", O_RDONLY)     = 3&lt;br /&gt;     ----------------&lt;br /&gt;   $sed -n 5p ls.output |&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;sed 's/.*.1//g'&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;   ", O_RDONLY)     = 3          &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;# Will show everything after .1 from the above line&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;------------------&lt;br /&gt;$sed -n 5p ls.output |&lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;sed 's/1.*//g'&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;open("/lib64/librt.so.  &lt;/span&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;# Will show everything before 1 as output &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;Good Link for SED - &lt;a href="http://www.grymoire.com/Unix/Sed.html"&gt;http://www.grymoire.com/Unix/Sed.html&lt;/a&gt;&lt;/span&gt; &lt;/div&gt;&lt;div style="font-family: verdana;font-family:verdana;" &gt;&lt;span style="font-size:100%;"&gt;Another very good link for sed &lt;a href="http://sed.sourceforge.net/sed1line.txt"&gt;http://sed.sourceforge.net/sed1line.txt&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;find&lt;br /&gt;----&lt;br /&gt;Display the all files recursively - find . -depth -print&lt;br /&gt;Search file recursively - find /home/david -name 'index*'&lt;br /&gt;Search file recursively (Case insensitive) -find /home/david -iname 'index*'&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;find /mp3collection -name '*.mp3' -size -5000k&lt;br /&gt;$ find / -size +10000k&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;ind /home/david -amin -10 -name '*.c'&lt;br /&gt;$ find /home/david -atime -2 -name '*.c'&lt;br /&gt;$ find /home/david -mmin -10 -name '*.c'&lt;br /&gt;$ find /home/david -mtime -2 -name '*.c'&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;ind /mp3-collection -name 'Metal*' -and -size +10000k&lt;br /&gt;$ find /mp3-collection -size +10000k ! -name "Metal*"&lt;br /&gt;$ find /mp3-collection -name 'Metal*' -or -size +10000k&lt;br /&gt;&lt;br /&gt;Cut&lt;br /&gt;----&lt;br /&gt;Cut output from the line to get all usernames from the file - Eg.filename.txt&lt;br /&gt;/kolab/var/imapd/spool/domain/m/sample.domain/s/user/suresh/Calendar/1.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;/kolab/var/imapd/spool/domain/m/sample.domain/s/user/sathish/Calendar/11.&lt;br /&gt;&lt;br /&gt;cat filename.txt cut -d/ -f11&lt;br /&gt;Explaination - This will set "/" as delimiter and gives field 11 - suresh and sathish as output&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana;font-family:verdana;" &gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana;font-family:verdana;" &gt;&lt;span style="font-size:100%;"&gt;Track command history based on time&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana;font-family:verdana;" &gt;&lt;span style="font-size:100%;"&gt;export HISTTIMEFORMAT="%x %X " in .bashrc of shell &lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana;font-family:verdana;" &gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;Command to extract contents from an RPM file&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana;font-family:verdana;" &gt;&lt;span style="font-size:100%;"&gt;rpm2cpio &lt;rpmfile&gt;&lt;rpmfilename&gt;cpio -ivd&lt;br /&gt;&lt;br /&gt;Command to view the contents of an RPM file&lt;br /&gt;rpm -qpil /path/to/the/rpmfile&lt;path&gt;&lt;br /&gt;&lt;/path&gt;&lt;/rpmfilename&gt;&lt;/rpmfile&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: verdana;" face="verdana"&gt;&lt;/div&gt;&lt;div style="font-family: verdana;" face="verdana"&gt;&lt;/div&gt;&lt;p style="font-family: verdana;"&gt;&lt;/p&gt;&lt;p style="font-family: verdana;"&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-7145718799666488097?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/7145718799666488097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=7145718799666488097' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/7145718799666488097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/7145718799666488097'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2007/06/commands.html' title='commands'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-7742376867390888409</id><published>2007-06-27T21:14:00.000+05:30</published><updated>2007-06-27T21:18:24.240+05:30</updated><title type='text'>SysStat Installation &amp; configuration</title><content type='html'>Check whether the rpm is installed.&lt;br /&gt;#rpm -qa grep -i sysstat&lt;br /&gt;&lt;br /&gt;If sysstat is not installed install it&lt;br /&gt;#rpm -ivh sysstat-5.0.5-5.rhel3.i386.rpm&lt;br /&gt;&lt;br /&gt;Modify /etc/cron.d/systat :&lt;br /&gt;# run system activity accounting tool every 1 minute i.e collect 2 sample/min with 30 sec interval.&lt;br /&gt;*/1 * * * * root /usr/lib/sa/sa1 30 2&lt;br /&gt;&lt;br /&gt;Note : Comment the existing entry which collects data every 10 min ( 1 sample/10 min)       # */10 * * * * root /usr/lib/sa/sa1 1 1&lt;br /&gt;   &lt;br /&gt;Restart crond service.# service crond restart&lt;br /&gt;&lt;br /&gt;To get CPU utilization information :&lt;br /&gt;# sar -f /var/log/sa/sadd -u more&lt;br /&gt; where dd represents day of the month.&lt;br /&gt;&lt;br /&gt;To get memory utilization output :# sar -f /var/log/sa/sadd -r more&lt;br /&gt;Where dd represents day of the month.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-7742376867390888409?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/7742376867390888409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=7742376867390888409' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/7742376867390888409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/7742376867390888409'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2007/06/sysstat-installation-configuration.html' title='SysStat Installation &amp; configuration'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-61724573621235161</id><published>2006-12-06T11:59:00.000+05:30</published><updated>2006-12-06T12:01:28.239+05:30</updated><title type='text'>cool codes........</title><content type='html'>&lt;blockquote&gt;&lt;p&gt;&lt;br /&gt;Open any of your fav site. paste this on the url location and hit enter&lt;/p&gt;&lt;p&gt;&lt;br /&gt;java-script:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images ; DIL=DI.length; function A(){for(i=0;&lt;dil; top="Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('A()',5);" left="Math.sin(R*x1+i*x2+x3)*x4+x5;" position="'absolute';" dis="DI["&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-61724573621235161?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/61724573621235161/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=61724573621235161' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/61724573621235161'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/61724573621235161'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/12/cool-codes.html' title='cool codes........'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-116340918235572929</id><published>2006-11-13T14:38:00.000+05:30</published><updated>2006-11-15T17:34:38.746+05:30</updated><title type='text'>Telnet to pop3 and Smtp.</title><content type='html'>Using telnet to check if the SMTP and pop3 service is running on a server.&lt;br /&gt;&lt;br /&gt;TELNET.&lt;br /&gt;=======&lt;br /&gt;Telnet - SMTP Commands (sending mail using telnet)&lt;br /&gt;In order to access your mailbox you will need 3 things: &lt;br /&gt;An active internet connection (an embarrasing stage to miss sometimes!) &lt;br /&gt;The address of a mail server capable of relaying for you - usually provided by your dialup provider (e.g. mail.domain.ext) &lt;br /&gt;A valid email address (e.g. mail@domain.ext) &lt;br /&gt;The first thing to do is to open a connection from your computer to your mail server.&lt;br /&gt;&lt;strong&gt;telnet mail.domain.ext 25&lt;/strong&gt;&lt;br /&gt;You should receive a reply like:&lt;br /&gt;Trying ???.???.???.???...&lt;br /&gt;Connected to mail.domain.ext.&lt;br /&gt;Escape character is '^]'.&lt;br /&gt;220 mail.domain.ext ESMTP Sendmail ?version-number?; ?date+time+gmtoffset?&lt;br /&gt;&lt;br /&gt;You will then need to delcare where you are sending the email from:&lt;br /&gt;&lt;strong&gt;HELO local.domain.name&lt;/strong&gt;&lt;br /&gt;Dont worry too much about your local domain name although you really should use your exact fully qualified domain name as seen by the outside world the mail server has no choice but to take your word for it as of RFC822-RFC1123.&lt;br /&gt;This should give you:&lt;br /&gt;250 mail.domain.ext Hello local.domain.name [loc.al.i.p], pleased to meet you&lt;br /&gt;&lt;br /&gt;Now give your email address:&lt;br /&gt;&lt;strong&gt;MAIL FROM: mail@domain.ext&lt;/strong&gt;&lt;br /&gt;Should yeild:&lt;br /&gt;250 2.1.0 mail@domain.ext... Sender ok&lt;br /&gt;If it doesn't please see possible problems.&lt;br /&gt;&lt;br /&gt;Now give the recipients address:&lt;br /&gt;&lt;strong&gt;RCPT TO: mail@otherdomain.e&lt;/strong&gt;xt&lt;br /&gt;Should yeild:&lt;br /&gt;250 2.1.0 mail@otherdomain.ext... Recipient ok&lt;br /&gt;If it doesn't please see possible problems.&lt;br /&gt;&lt;br /&gt;To start composing the message issue the command &lt;br /&gt;&lt;strong&gt;DATA&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;If you want a subject for your email type Subject:-type subject here- then press enter twice (these are needed to conform to RFC 882)&lt;br /&gt;&lt;br /&gt;You may now proceed to type the body of your message (e.g. hello mail@otherdomain.ext from mail@domain.ext)&lt;br /&gt;&lt;br /&gt;To tell the mail server that you have completed the message enter &lt;strong&gt;a single "." &lt;/strong&gt;on a line on it's own.&lt;br /&gt;The mail server should reply with: 250 2.0.0 ???????? Message accepted for delivery&lt;br /&gt;&lt;br /&gt;You can close the connection by issuing the &lt;strong&gt;QUI&lt;/strong&gt;T command.&lt;br /&gt;The mailserver should reply with something like:221 2.0.0 mail.domain.ext closing connection&lt;br /&gt;Connection closed by foreign host.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here are a list of problems I've encountered and their fixes&lt;br /&gt;501 nouser@nosuchplace.here... Sender domain must exist&lt;br /&gt;The domain that you are sending from must exist&lt;br /&gt;&lt;br /&gt;503 Need MAIL before RCPT&lt;br /&gt;A recipient has been specified before a sender.&lt;br /&gt;&lt;br /&gt;550 mail@domain.ext... Relaying Denied&lt;br /&gt;The mail server has refused to relay mail for you, this may be for any number of reasons but typical resons include:&lt;br /&gt;Not using this provider for an internet connection and/or&lt;br /&gt;Not using an email address provided by the owner of the server.&lt;br /&gt;&lt;br /&gt;Some things to watch out for:&lt;br /&gt;1. If you type too quickly, sometimes it won't recognise your text (weird!)&lt;br /&gt;2. The backspace key sometimes does not work with some telnet clients (even though it may seem as though it does)&lt;br /&gt;&lt;br /&gt;I'll be putting more as and when I get them and figure out how to fix each problem.&lt;br /&gt;&lt;br /&gt;POP3&lt;br /&gt;====&lt;br /&gt;Telnet - POP Commands (retrieving mail using telnet)&lt;br /&gt;In order to access your mailbox you will need 4 things: &lt;br /&gt;An active internet connection (an embarrasing stage to miss sometimes!) &lt;br /&gt;The address of your pop mail server (e.g. mail.domain.ext) &lt;br /&gt;Your username (e.g. userName) &lt;br /&gt;Your password (e.g. passW0rd) &lt;br /&gt;The first thing to do is to open a connection from your computer to your mail server.&lt;br /&gt;&lt;strong&gt;telnet mail.domain.ext 110&lt;/strong&gt;You should receive a reply like:&lt;br /&gt;Trying ???.???.???.???...&lt;br /&gt;Connected to mail.domain.ext.&lt;br /&gt;Escape character is '^]'.&lt;br /&gt;+OK ready&lt;br /&gt;&lt;br /&gt;Then log in:&lt;br /&gt;&lt;strong&gt;USER userName&lt;/strong&gt;&lt;br /&gt;This should give you:&lt;br /&gt;+OK Password required for userName.&lt;br /&gt;&lt;br /&gt;Now give your password:&lt;br /&gt;&lt;strong&gt;PASS passW0rd&lt;/strong&gt;&lt;br /&gt;Should yeild:&lt;br /&gt;+OK userName has ? visible messages (? hidden) in ????? octets.&lt;br /&gt;If it doesn't please see possible problems.&lt;br /&gt;&lt;br /&gt;To see a list of your emails awaiting collection use the &lt;strong&gt;LIST&lt;/strong&gt; command, this will also show you the id number of your messages (e.g. 1 or 2 etc.)&lt;br /&gt;To view the contents of an email type &lt;strong&gt;RETR + &lt;/strong&gt;the id number of the message (e.g &lt;strong&gt;RETR 1&lt;/strong&gt;).&lt;br /&gt;To delete a message use &lt;strong&gt;DELE +&lt;/strong&gt; the id number of the message (e.g &lt;strong&gt;DELE 1&lt;/strong&gt;).&lt;br /&gt;To leave your mailbox and close the connection use&lt;strong&gt; QUIT&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Here are a list of problems I've encountered and their fixes&lt;br /&gt;-ERR [AUTH] Password supplied for "userName" is incorrect.&lt;br /&gt;The password supplied was not the one expected by the server, retype the password, failing that find out if you've got the correct password.&lt;br /&gt;&lt;br /&gt;-ERR [AUTH] PAM authentication failed for user "userName": Authentication failure (7)&lt;br /&gt;Your mailbox could not be broken down into seperate emails correctly, there may be a remnant of a message left - Ask your ISP to edit the mailbox manually and look for free lines above the headers.&lt;br /&gt;&lt;br /&gt;452 4.4.5 Insufficient disk space; try again later&lt;br /&gt;The mailserver cannot write the temporary files needed to allow you to collect your mail - ask your ISP to check disk useage and allocation on the server&lt;br /&gt;&lt;br /&gt;-ERR [SYS/TEMP] Unable to copy mail spool file, quota exceeded (122)&lt;br /&gt;The mailserver cannot create a temporary file needed to allow you access to your mailbox as you've run out of your space allocation - Try to reduce the amount of disk space you are using on that server (this quota may be shared between your mail, web and userspace), alternatively contact your ISP to increase your quota.&lt;br /&gt;&lt;br /&gt;-ERR [IN-USE] /???/???/.userName.pop lock busy! Is another session active? (11)&lt;br /&gt;The mailbox is currently in use by another connection or an old connection has terminated uncleanly - This will deal with itself&lt;br /&gt;&lt;br /&gt;Overquota locking file '/???/???/???/userName.lock'; lock proceeding anyway&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Unable to process From lines (envelopes) in /???/???/???/userName; change recognition mode or check for corrupted mail drop.&lt;br /&gt;The mailbox cannot be split into seperate messages because the pop server cannot recognise distinct boundaries or the boundaries do not include the whole mailbox&lt;br /&gt;&lt;br /&gt;Some things to watch out for:&lt;br /&gt;1. If you type too quickly, sometimes it won't recognise your text (weird!)&lt;br /&gt;2. The backspace key sometimes does not work with some telnet clients (even though it may seem as though it does)&lt;br /&gt;&lt;br /&gt;I'll be putting more as and when I get them and figure out how to fix each problem.&lt;br /&gt;&lt;br /&gt;You can find the document on using this URL. http://www.yuki-onna.co.uk/email/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-116340918235572929?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/116340918235572929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=116340918235572929' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/116340918235572929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/116340918235572929'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/11/telnet-to-pop3-and-smtp.html' title='Telnet to pop3 and Smtp.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-116278801585655162</id><published>2006-11-06T10:09:00.000+05:30</published><updated>2006-11-15T17:34:38.626+05:30</updated><title type='text'>Shreya - My Neice photographs. [Click here]</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-116278801585655162?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.flickr.com/photos/30442549@N00/sets/72157594360257065/' title='Shreya - My Neice photographs. [Click here]'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/116278801585655162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=116278801585655162' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/116278801585655162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/116278801585655162'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/11/shreya-my-neice-photographs-click-here.html' title='Shreya - My Neice photographs. [Click here]'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-116278766036746776</id><published>2006-11-06T10:02:00.000+05:30</published><updated>2007-07-05T10:02:59.651+05:30</updated><title type='text'>Retrieving Hardware Information on linux</title><content type='html'>Retrieving Hardware Information&lt;br /&gt;If you need information on system's hardware like vendor, manufacturer, product, S/N, etc. you can use:&lt;br /&gt;&lt;br /&gt;dmidecode&lt;br /&gt;lshw&lt;br /&gt;hwbrowser (graphical)&lt;br /&gt;sysreport - Will collect all hardware information&lt;br /&gt;&lt;br /&gt;The dmidecode command reads the information from the system BIOS, see also http://www.nongnu.org/dmidecode/.&lt;br /&gt;&lt;br /&gt;There are a few other commands you might want to check out which list installed hardware components etc.:&lt;br /&gt;&lt;br /&gt;lsdev&lt;br /&gt;lshal&lt;br /&gt;lspci&lt;br /&gt;lsusb&lt;br /&gt;lsscsi&lt;br /&gt;&lt;br /&gt;Starting with the 2.6 kernel you can now get lots of information from /sys. For example, to get information on an Emulex HBA:&lt;br /&gt;&lt;br /&gt;# ls /sys/class/scsi_host/host1/&lt;br /&gt;&lt;br /&gt;board_mode     lpfc_cr_delay            lpfc_poll             option_rom_version&lt;br /&gt;board_online   lpfc_drvr_version        lpfc_poll_tmo         portnum&lt;br /&gt;cmd_per_lun    lpfc_fcp_class           lpfc_scan_down        proc_name&lt;br /&gt;ctlreg         lpfc_fdmi_on             lpfc_topology         programtype&lt;br /&gt;device         lpfc_hba_queue_depth     lpfc_use_adisc        scan&lt;br /&gt;fwrev          lpfc_link_speed          management_version    serialnum&lt;br /&gt;hdw            lpfc_log_verbose         mbox                  sg_tablesize&lt;br /&gt;host_busy      lpfc_lun_queue_depth     modeldesc             state&lt;br /&gt;info           lpfc_max_luns            modelname             uevent&lt;br /&gt;lpfc_ack0      lpfc_multi_ring_support  nport_evt_cnt         unchecked_isa_dma&lt;br /&gt;lpfc_cr_count  lpfc_nodev_tmo           num_discovered_ports  unique_id&lt;br /&gt;#&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-116278766036746776?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/116278766036746776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=116278766036746776' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/116278766036746776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/116278766036746776'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/11/retrieving-hardware-information-on.html' title='Retrieving Hardware Information on linux'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-116130278691221419</id><published>2006-10-20T05:33:00.000+05:30</published><updated>2006-11-15T17:34:38.466+05:30</updated><title type='text'>Nandhi Hills Trip - Photographs [Click Here]</title><content type='html'>Nandhi Hill Trip - with Microland Colleagues. &lt;br /&gt;Anand and Jayaprakash's treat.... &lt;br /&gt;&lt;br /&gt;Dated : 14th October 2006&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-116130278691221419?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.flickr.com/photos/30442549@N00/271491892/in/set-72157594331402224/' title='Nandhi Hills Trip - Photographs [Click Here]'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/116130278691221419/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=116130278691221419' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/116130278691221419'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/116130278691221419'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/10/nandhi-hills-trip-photographs-click.html' title='Nandhi Hills Trip - Photographs [Click Here]'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-116130258748444730</id><published>2006-10-20T05:31:00.000+05:30</published><updated>2006-11-15T17:34:38.404+05:30</updated><title type='text'>Unix - VCS - VxFS - Shell commands - Many more tips [Click Here]</title><content type='html'>Unix - All the Informations for a Unix System Administrator&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-116130258748444730?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://unixarticles.com/categories/Veritas/' title='Unix - VCS - VxFS - Shell commands - Many more tips [Click Here]'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/116130258748444730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=116130258748444730' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/116130258748444730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/116130258748444730'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/10/unix-vcs-vxfs-shell-commands-many-more.html' title='Unix - VCS - VxFS - Shell commands - Many more tips [Click Here]'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-116050405185432014</id><published>2006-10-10T22:42:00.000+05:30</published><updated>2006-11-15T17:34:38.283+05:30</updated><title type='text'>Cool lines...</title><content type='html'># A diplomatic husband said to his wife, "How do you expect me to remember your   birthday when you never look any older?" &lt;br /&gt;# A clean tie attracts the soup of the day. &lt;br /&gt;# A cigarette is a pinch of tobacco, wrapped in paper, fire at one end, fool at the other&lt;br /&gt;# A baby sitter is a teenager acting like an adult while the adults are out acting like teenagers.&lt;br /&gt;#  A dog thinks: Hey, these people I live with feed me, love me, provide me with a nice warm, dry house, pet me, and take good care of me... They must be Gods!&lt;br /&gt;A cat thinks: Hey, these people I live with feed me, love me, provide me with a nice warm, dry house, pet me, and take good care of me... I must be a God! &lt;br /&gt;# A dream is just a dream. A goal is a dream with a plan and a deadline.&lt;br /&gt;# A drop of ink may make a million think.&lt;br /&gt;# A fair face may fade, but a beautiful soul last forever. &lt;br /&gt;# A Dutchman was explaining the red, white, and blue Netherlands flag to an American.&lt;br /&gt;"Our flag is symbolic of our taxes. &lt;br /&gt;We get red when we talk about them, white when we get our tax bills, and blue after we pay them." &lt;br /&gt;The American nodded. "It's the same in the USA only we see stars too!"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-116050405185432014?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/116050405185432014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=116050405185432014' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/116050405185432014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/116050405185432014'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/10/cool-lines.html' title='Cool lines...'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-115140213555111485</id><published>2006-06-27T15:16:00.003+05:30</published><updated>2011-10-24T11:37:06.874+05:30</updated><title type='text'>Linux Snippets.</title><content type='html'>Linux command tips ******&lt;br /&gt;&lt;a href="http://www.pixelbeat.org/cmdline.html"&gt;http://www.pixelbeat.org/cmdline.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;http://www.felixgers.de/teaching/emacs/vi_search_replace.html&lt;br /&gt;&lt;br /&gt;Vi: Search and Replace&lt;br /&gt;Change to normal mode with &lt;esc&gt;.&lt;br /&gt;&lt;br /&gt;Search (Wraped around at end of file):&lt;br /&gt;&lt;br /&gt;Search STRING forward : / STRING.&lt;br /&gt;Search STRING backward: ? STRING.&lt;br /&gt;&lt;br /&gt;Repeat search: n&lt;br /&gt;Repeat search in opposite direction: N (SHIFT-n)&lt;br /&gt;&lt;br /&gt;Replace: Same as with sed, Replace OLD with NEW:&lt;br /&gt;&lt;br /&gt;First occurrence on current line: :s/OLD/NEW&lt;br /&gt;Globally (all) on current line: :s/OLD/NEW/g&lt;br /&gt;Between two lines #,#: :#,#s/OLD/NEW/g&lt;br /&gt;&lt;/esc&gt;&lt;esc&gt;Every occurrence in file: :%s/OLD/NEW/g&lt;br /&gt;Command for commenting out N number of lines (N = number of lines) :.,+N s/^/#/g&lt;br /&gt;-----------------------------------&lt;br /&gt;awk and sed commands&lt;br /&gt;&lt;br /&gt;file test.txt content is retheesh kumar R&lt;br /&gt;to view kumar R use&lt;br /&gt;#cat test.txtawk '{print $2 $3}'&lt;br /&gt;&lt;br /&gt;or you can use sed command and remove retheesh&lt;br /&gt;#cat test.txtsed 's/retheesh//'&lt;br /&gt;this switches retheesh with blank //&lt;br /&gt;&lt;br /&gt;vi +5 filename.txt   # This will open the filename.txt with the cursor on the 5th line&lt;br /&gt;&lt;/esc&gt;vi +$ filename.txt   # This will open the filename.txt with the cursor on the last line&lt;br /&gt;&lt;br /&gt;=========================&lt;br /&gt;Edit Multiple files at one go.&lt;br /&gt;==========================&lt;br /&gt;&lt;br /&gt;vi file1 file2 file3&lt;br /&gt;Will open file1&lt;br /&gt;:wnext to move to file2 by saving changes to file1&lt;br /&gt;:next! to move to file2 without saving changes on file1&lt;br /&gt;&lt;br /&gt;To move to previous file&lt;br /&gt;:wprevious - To move to previous file by saving changes to the current.&lt;br /&gt;:previous! - To move to pervious file without saving changes to the current&lt;br /&gt;&lt;br /&gt;To see the list of file that is being edit and to know the current edite&lt;br /&gt;:args&lt;br /&gt;&lt;br /&gt;========================================&lt;br /&gt;Viewing mulitple file on the same vim window&lt;br /&gt;======================================&lt;br /&gt;&lt;br /&gt;To split multiple files for easy editing. (Horizontal Split)&lt;br /&gt;vim fileone #original file from the original file type&lt;br /&gt;:split /path/to/filetwo # Another file&lt;br /&gt;Will open up 2 different files you can toggle between both the files using CTRL + W&lt;br /&gt;To save changes type&lt;br /&gt;:wclose  - Will save changes to the file&lt;br /&gt;:close! - Will exit without any changes&lt;br /&gt;&lt;br /&gt;To split multiple files for easy editing. (Vertical Split)&lt;br /&gt;im fileone #original file from the original file type&lt;br /&gt;:vsplit /path/to/filetwo # Another file&lt;br /&gt;Will open up 2 different files you can toggle between both the files using CTRL + W&lt;br /&gt;To save changes type&lt;br /&gt;:wclose  - Will save changes to the file&lt;br /&gt;:close! - Will exit without any changes&lt;br /&gt;&lt;br /&gt;================================&lt;br /&gt;New file from existing vim window&lt;br /&gt;===============================&lt;br /&gt;Creat a new txt file from vi console&lt;br /&gt;:new - Will create a new file for edition&lt;br /&gt;Note while saving ensure to use :w filename to save the file&lt;br /&gt;&lt;esc&gt;======================&lt;br /&gt;Command to manually set date on the redhat system.&lt;br /&gt;&lt;br /&gt;#date -s "MM/DD/yyyy hh:mm:ss"&lt;br /&gt;Example -&lt;br /&gt;#date -s "03/17/2006 02:01:39"&lt;br /&gt;-----------------------------------&lt;br /&gt;For better graphical display during bootup and on command line mode edit grub and&lt;br /&gt;add " rhgb quite vga=0x317"&lt;br /&gt;&lt;br /&gt;eg: kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/ rhgb quiet vga=0x317&lt;br /&gt;---------------------------------&lt;br /&gt;&lt;br /&gt;Procedure to register and up2date your machine.&lt;br /&gt;&lt;br /&gt;#cat /etc/redhat-release -----------&amp;gt; will show the redhat version you are using&lt;br /&gt;&lt;br /&gt;up2date-nox --config&lt;br /&gt;httpProxy &lt;proxyserver&gt;:&lt;proxyport&gt;&lt;br /&gt;enableProxy Yes&lt;br /&gt;&lt;br /&gt;#up2date-nox -l&lt;br /&gt;This will connect to the server using the proxy details mentioned, and sent the server details to the rhn.redhat.com site. (tab systems).&lt;br /&gt;#run the rpm -keyXXSSXXSSSS&lt;br /&gt;execute command to start updating the packages to the latest&lt;br /&gt;#up2date-nox -u -----------&amp;gt; will start updating all the packages with the latest packages available on redhat site.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Using up2date command to update kernel.&lt;/strong&gt;&lt;br /&gt;Note: Kernel update will not actually upgrade the kernel but install a new version of kernel and make relevent entries on the /etc/grub.conf file and set the boot parameter to boot with the new kernel.&lt;br /&gt;#up2date-nox -f kernel -----------&amp;gt; either enter kernel* or manually give all the kernel-smp, kernel-Highmem etc to install.&lt;br /&gt;&lt;br /&gt;#cat /etc/redhat-release -----------&amp;gt; will show the updated redhat version&lt;br /&gt;--------------------------------------&lt;br /&gt;&lt;br /&gt;mke2fs -j -b 4096 /&lt;partition&gt; will specifiy 4KB blocksize, this will help in faster fsck.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/partition&gt;&lt;/proxyport&gt;&lt;/proxyserver&gt;&lt;/esc&gt;&lt;div&gt;&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-115140213555111485?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/115140213555111485/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=115140213555111485' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/115140213555111485'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/115140213555111485'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/06/linux-snippets.html' title='Linux Snippets.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-115112723530431914</id><published>2006-06-24T10:56:00.000+05:30</published><updated>2006-11-23T07:12:23.974+05:30</updated><title type='text'>bonding network card on linux.</title><content type='html'>1. Add entires on /etc/module.conf file&lt;br /&gt;alias bond0 bonding&lt;br /&gt;options bond0 miimon=100 mode=1&lt;br /&gt;--------------------------------------&lt;br /&gt;2. lsmod should detect module.&lt;br /&gt;bonding 25220 1&lt;br /&gt;-------------------------------------&lt;br /&gt;3. cat /etc/sysconfig/network-scripts/ifcfg-bond0&lt;br /&gt;DEVICE=bond0&lt;br /&gt;BOOTPROTO=none&lt;br /&gt;BROADCAST=3.159.19.255&lt;br /&gt;IPADDR=3.159.17.80&lt;br /&gt;NETMASK=255.255.252.0&lt;br /&gt;NETWORK=3.159.16.0&lt;br /&gt;ONBOOT=yes&lt;br /&gt;&lt;br /&gt;cat /etc/sysconfig/network-scripts/ifcfg-eth0&lt;br /&gt;DEVICE=eth0&lt;br /&gt;BOOTPROTO=static&lt;br /&gt;ONBOOT=yes&lt;br /&gt;TYPE=Ethernet&lt;br /&gt;MASTER=bond0&lt;br /&gt;SLAVE=yes&lt;br /&gt;ETHTOOL_OPTS="autoneg off speed 100 duplex full"&lt;br /&gt;&lt;br /&gt;cat /etc/sysconfig/network-scripts/ifcfg-eth1&lt;br /&gt;DEVICE=eth1&lt;br /&gt;BOOTPROTO=static&lt;br /&gt;TYPE=Ethernet&lt;br /&gt;ONBOOT=no&lt;br /&gt;&lt;br /&gt;cat /etc/sysconfig/network-scripts/ifcfg-eth2&lt;br /&gt;DEVICE=eth2&lt;br /&gt;BOOTPROTO=static&lt;br /&gt;ONBOOT=yes&lt;br /&gt;TYPE=Ethernet&lt;br /&gt;MASTER=bond0&lt;br /&gt;SLAVE=yes&lt;br /&gt;ETHTOOL_OPTS="autoneg off speed 100 duplex full"&lt;br /&gt;&lt;br /&gt;cat /etc/sysconfig/network-scripts/ifcfg-eth3&lt;br /&gt;DEVICE=eth3&lt;br /&gt;BOOTPROTO=static&lt;br /&gt;TYPE=Ethernet&lt;br /&gt;ONBOOT=no&lt;br /&gt;==========================================&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-115112723530431914?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/115112723530431914/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=115112723530431914' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/115112723530431914'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/115112723530431914'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/06/bonding-network-card-on-linux.html' title='bonding network card on linux.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-115083413576165529</id><published>2006-06-21T01:33:00.000+05:30</published><updated>2006-11-15T17:34:38.018+05:30</updated><title type='text'>Enable full duplex and disabling autonegotiation for nic cards,</title><content type='html'>Modifying network settings&lt;br /&gt;&lt;br /&gt;Add the following line in &lt;br /&gt;/etc/sysconfig/network-scripts/ifconfig-eth0 &amp; &lt;br /&gt;/etc/sysconfig/network-scripts/ifconfig-eth2&lt;br /&gt;&lt;br /&gt;ETHTOOL_OPTS="autoneg off speed 100 duplex full"&lt;br /&gt;&lt;br /&gt;Restart network service &lt;br /&gt;#service network restart&lt;br /&gt;&lt;br /&gt;This will set network settings to full duplex, Speed: 100Mb/s &amp; auto-negotiation: No&lt;br /&gt;&lt;br /&gt;Run following commands to confirm network settings&lt;br /&gt;#ethtool eth0 &lt;br /&gt;#ethtool eth1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-115083413576165529?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/115083413576165529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=115083413576165529' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/115083413576165529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/115083413576165529'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/06/enable-full-duplex-and-disabling.html' title='Enable full duplex and disabling autonegotiation for nic cards,'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-114991293359536714</id><published>2006-06-10T09:42:00.000+05:30</published><updated>2006-11-15T17:34:37.899+05:30</updated><title type='text'>Words.. The ever Lasting Words.</title><content type='html'>Words without thought are dead sounds; thoughts without words are nothing.&lt;br /&gt;To think is to speak low; to speak is to think aloud.&lt;br /&gt;--Max Muller&lt;br /&gt;&lt;br /&gt;It is with words as with sunbeams, the more they are condensed, the deeper they burn.&lt;br /&gt;--Southey&lt;br /&gt;&lt;br /&gt;Words are things; and a small drop of ink, falling like dew upon a&lt;br /&gt;thought, produces that which makes thousands, perhaps millions, think.&lt;br /&gt;--Byron&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-114991293359536714?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/114991293359536714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=114991293359536714' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/114991293359536714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/114991293359536714'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/06/words-ever-lasting-words.html' title='Words.. The ever Lasting Words.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-114985956927538066</id><published>2006-06-09T18:55:00.000+05:30</published><updated>2006-11-15T17:34:37.841+05:30</updated><title type='text'>Oracle &amp; VMware installation procedure</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-114985956927538066?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.oracle-base.com/articles/10g/OracleDB10gR2RACInstallationOnCentos4UsingVMware.php' title='Oracle &amp; VMware installation procedure'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/114985956927538066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=114985956927538066' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/114985956927538066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/114985956927538066'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/06/oracle-vmware-installation-procedure.html' title='Oracle &amp; VMware installation procedure'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-114938523556874804</id><published>2006-06-04T06:38:00.000+05:30</published><updated>2006-11-15T17:34:37.765+05:30</updated><title type='text'>Walk down by the River.</title><content type='html'>Lazily walking by the river side,ear tunes to the gurgles of water beside, each step leaving the behind a trailing path on the white river bank.Letting out the little shiver of winter, mist masking the view far ahead. Trees dance to the tunes of the wind, early morning birds get more chirpy with each early find.&lt;br /&gt;&lt;br /&gt;Sun shined far away, painting the sky with enchanting colours adding a tinge pigment of red to everything the eye could set upon. The early winter sun feels like the comfort of a warm blanket on a chill winter night.&lt;br /&gt;&lt;br /&gt;The giant rocks by the bank of the river project out of flowing water, creating ripples and belting out the soul filling melody. The greater rock beneath that braved for centureis the fury of the river, yet stands tall smiling like a buddha bringing scenerity to the surrounding.   &lt;br /&gt;&lt;br /&gt;New leaves of the season sprout the bare branches, soft and subtle, colours so vibrant that tempt to fondle them, the morning mist droplets wet the tender green grass blades, the droplets on them sparkle like a sprawling diamond field all around waiting to be picked up. &lt;br /&gt;&lt;br /&gt;The early wind carrying the scent of the nilgiries and the music of the nature, with it moisture of the river and the wetness of mist,caresing the body bringing it alive with glee, &lt;br /&gt;&lt;br /&gt;God said "Adam &amp; Eve, Wasn't this, what i left you as world" ;-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-114938523556874804?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/114938523556874804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=114938523556874804' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/114938523556874804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/114938523556874804'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/06/walk-down-by-river.html' title='Walk down by the River.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-114871223835602802</id><published>2006-05-27T11:44:00.000+05:30</published><updated>2006-11-15T17:34:37.700+05:30</updated><title type='text'>Booting stops at GRUB</title><content type='html'>Was trying to something crazy on the system. Did a small change of setting the default boot to windows instead of linux on /etc/grub/grub.conf file.&lt;br /&gt;&lt;br /&gt;Problem:&lt;br /&gt;Rebooted the machine. Machine boots up after the BIOS checks, when the sytem needs to boot up from the MBR. It says the work "GRUB" and stops there.&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;As i was not able to load the MBR, could not load to the single user mode. Booted up the machine using the 1st Installation disk. Followed the normal resuce mode parameters. Set the partition /boot to read/write using command&lt;br /&gt;"#mount -o loop rw /dev/hdx /boot"&lt;br /&gt;"#cat /etc/grub.conf" below entry shows in which drive is the MBR Loaded.&lt;br /&gt;&lt;strong&gt;#boot=/dev/hda&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;ran "#grub-install /dev/hda" to reinstall the grub configuration files. It was taking a very long time, and after sometime i failed.&lt;br /&gt;&lt;br /&gt;ran "#grub-install --recheck" This command will take quite sometime to run but finally it checks the device.map file and correct if any error. Rebooted the machine and Violaaaaaa my linux was alive and kicking...:)&lt;br /&gt;&lt;br /&gt;Refered http://docs.redhat.com for help.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-114871223835602802?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/114871223835602802/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=114871223835602802' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/114871223835602802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/114871223835602802'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/05/booting-stops-at-grub.html' title='Booting stops at GRUB'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-114865100339316587</id><published>2006-05-26T19:12:00.000+05:30</published><updated>2006-11-15T17:34:37.639+05:30</updated><title type='text'>http://virtualthreads.blogspot.com/ - Good Linux Explaination</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-114865100339316587?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://virtualthreads.blogspot.com/' title='http://virtualthreads.blogspot.com/ - Good Linux Explaination'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/114865100339316587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=114865100339316587' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/114865100339316587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/114865100339316587'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/05/httpvirtualthreadsblogspotcom-good.html' title='http://virtualthreads.blogspot.com/ - Good Linux Explaination'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-114582494011293957</id><published>2006-04-24T02:11:00.000+05:30</published><updated>2006-11-23T07:14:21.072+05:30</updated><title type='text'>Linux - Info......</title><content type='html'>Command to check if the Machine is 32bit or 64bit architecture.&lt;br /&gt;#file /sbin/init&lt;br /&gt;/sbin/init: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),&lt;br /&gt;for GNU/Linux 2.2.5, dynamically linked (uses shared libs), stripped&lt;br /&gt;&lt;br /&gt;==========================================================&lt;br /&gt;In apache u can configure to know the apaches cpu usage, memory, hits etc and the apache configuration i.e., modules loaded and configured for apache by editing the following entries.&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;# ExtendedStatus controls whether Apache will generate "full" status&lt;br /&gt;# information (ExtendedStatus On) or just basic information (ExtendedStatus&lt;br /&gt;# Off) when the "server-status" handler is called. The default is Off.&lt;br /&gt;#&lt;br /&gt;ExtendedStatus On&lt;br /&gt;&lt;br /&gt;# Allow server status reports generated by mod_status,&lt;br /&gt;# with the URL of http://servername/server-status&lt;br /&gt;# Change the ".example.com" to match your domain to enable.&lt;br /&gt;#&lt;br /&gt;&lt;location&gt;&lt;br /&gt;SetHandler server-status&lt;br /&gt;Order deny,allow&lt;br /&gt;Deny from all&lt;br /&gt;Allow from x.x.x.x&lt;br /&gt;&lt;/location&gt;&lt;br /&gt;&lt;br /&gt;#&lt;br /&gt;# Allow remote server configuration reports, with the URL of&lt;br /&gt;# http://servername/server-info (requires that mod_info.c be loaded).&lt;br /&gt;# Change the ".example.com" to match your domain to enable.&lt;br /&gt;#&lt;br /&gt;&lt;location&gt;&lt;br /&gt;SetHandler server-info&lt;br /&gt;Order deny,allow&lt;br /&gt;Deny from all&lt;br /&gt;Allow from x.x.x.x&lt;br /&gt;&lt;/location&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;System Performance checking utilities in linux&lt;/strong&gt;.&lt;br /&gt;free(1) man page - Displays free and used memory statistics.&lt;br /&gt;top(1) man page - Displays CPU utilization and process-level statistics.&lt;br /&gt;watch(1) man page - Periodically executes the specified program, displaying fullscreen output.&lt;br /&gt;GNOME System Monitor Help menu entry - Graphically displays process, CPU, memory, and&lt;br /&gt;disk space utilization statistics.&lt;br /&gt;vmstat(8) man page - Displays a concise overview of process, memory, swap, I/O, system, and&lt;br /&gt;CPU utilization.&lt;br /&gt;iostat(1) man page - Displays CPU and I/O statistics.&lt;br /&gt;mpstat(1) man page - Displays individual CPU statistics on multiprocessor systems.&lt;br /&gt;sadc(8) man page - Collects system utilization data.&lt;br /&gt;sa1(8) man page - A script that runs sadc periodically.&lt;br /&gt;sar(1) man page - Produces system resource utilization reports.&lt;br /&gt;sa2(8) man page - Produces daily system resource utilization report files.&lt;br /&gt;nice(1) man page - Changes process scheduling priority.&lt;br /&gt;oprofile(1) man page - Profiles system performance.&lt;br /&gt;op_visualise(1) man page - Graphically displays OProfile data.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-114582494011293957?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/114582494011293957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=114582494011293957' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/114582494011293957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/114582494011293957'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/04/linux-info.html' title='Linux - Info......'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-113643845367064198</id><published>2006-01-05T10:49:00.000+05:30</published><updated>2006-11-15T17:34:37.427+05:30</updated><title type='text'>Driving in Bangalore / India</title><content type='html'>This hilarious article was written by a Dutchman who spent two years in Bangalore, India, as a visiting expert. A little long article but worth reading it&lt;br /&gt;&lt;br /&gt;For the benefit of every Tom, Dick and Harry visiting India and daring to drive on Indian roads, I am offering a few hints for survival. They are applicable to every place in India except Bihar, where life outside a vehicle is only marginally safer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Indian road rules broadly operate within the domain of karma where you do your best, and leave the results to your insurance company. The hints are as follows: Do we drive on the left or right of the road? The answer is "both". Basically you start on the left of the road, unless it is occupied. In that case, go to the right, unless that is also occupied. Then proceed by occupying the next available gap, as in chess. Just trust your instincts, ascertain the direction, and proceed. Adherence to road rules leads to much misery and occasional fatality. Most drivers don't drive, but just aim their vehicles in the generally intended direction.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Don't you get discouraged or underestimate yourself except for a belief in reincarnation; the other drivers are not in any better position. Don't stop at pedestrian crossings just because some fool wants to cross the road. You may do so only if you enjoy being bumped in the back.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Pedestrians have been strictly instructed to cross only when traffic is moving slowly or has come to a dead stop because some minister is in town. Still some idiot may try to wade across, but then, let us not talk ill of the dead.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Blowing your horn is not a sign of protest as in some countries. We horn to express joy, resentment, frustration, romance and bare lust (two brisk blasts),or just mobilize a dozing cow in the middle of the bazaar. Keep informative books in the glove compartment. You may read them during traffic jams, while awaiting the chief minister's motorcade, or waiting for the rainwater to recede when over ground traffic meets underground drainage.&lt;br /&gt;&lt;br /&gt;Occasionally you might see what looks like a UFO with blinking colored lights and weird sounds emanating from within. This is an illuminated bus, full of happy pilgrims singing bhajans. These pilgrims go at breakneck speed, seeking contact with the Almighty,often meeting with success. &lt;br /&gt;&lt;br /&gt;Auto Rickshaw (Baby Taxi): The result of a collision between a rickshaw and an automobile, this three-wheeled vehicle works on an external combustion engine that runs on a mixture of kerosene oil and creosote. This triangular vehicle carries iron rods, gas cylinders or passengers three times its weight and dimension, at an unspecified fare. After careful geometric calculations, children are folded and packed into these auto rickshaws until some children in the periphery are not in contact with the vehicle at all. Then their school bags are pushed into the microscopic gaps all round so those minor collisions with other vehicles on the road cause no permanent damage. Of course, the peripheral children are charged half the fare and also learn Newton's laws of motion enroute to school. Auto-rickshaw drivers follow the road rules depicted in the film Ben Hur, and are licensed to irritate.&lt;br /&gt;&lt;br /&gt;Mopeds: The moped looks like an oil tin on wheels and makes noise like an electric shaver. It runs 30 miles on a teaspoon of petrol and travels at break-bottom speed. As the sides of the road are too rough for a ride, the moped drivers tend to drive in the middle of the road; they would rather drive under heavier vehicles instead of around them and are often moppedoff the tarmac. &lt;br /&gt;&lt;br /&gt;Leaning Tower of Passes: Most bus passengers are given free passes and during rush hours, there is absolute mayhem. There are passengers hanging off other passengers, who in turn hang off the railings and the overloaded bus leans dangerously, defying laws of gravity but obeying laws of surface tension. As drivers get paid for overload (so many Rupees per kg of passenger), no questions are ever asked. Steer clear of these buses by a width of three passengers.&lt;br /&gt;&lt;br /&gt;Occasionally you might see what looks like a UFO with blinking colored lights and weird sounds emanating from within. This is an illuminated bus, full of happy pilgrims singing bhajans. These pilgrims go at breakneck speed, seeking contact with the Almighty,often meeting with success.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Auto Rickshaw (Baby Taxi): The result of a collision between a rickshaw and an automobile, this three-wheeled vehicle works on an external combustion engine that runs on a mixture of kerosene oil and creosote. This triangular vehicle carries iron rods, gas cylinders or passengers three times its weight and dimension, at an unspecified fare. After careful geometric calculations, children are folded and packed into these auto rickshaws until some children in the periphery are not in contact with the vehicle at all. Then their school bags are pushed into the microscopic gaps all round so those minor collisions with other vehicles on the road cause no permanent damage. Of course, the peripheral children are charged half the fare and also learn Newton's laws of motion enroute to school. Auto-rickshaw drivers follow the road rules depicted in the film Ben Hur, and are licensed to irritate.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Mopeds: The moped looks like an oil tin on wheels and makes noise like an electric shaver. It runs 30 miles on a teaspoon of petrol and travels at break-bottom speed. As the sides of the road are too rough for a ride, the moped drivers tend to drive in the middle of the road; they would rather drive under heavier vehicles instead of around them and are often "mopped" off the tarmac.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Leaning Tower of Passes: Most bus passengers are given free passes and during rush hours, there is absolute mayhem. There are passengers hanging off other passengers, who in turn hang off the railings and the overloaded bus leans dangerously, defying laws of gravity but obeying laws of surface tension. As drivers get paid for overload (so many Rupees per kg of passenger), no questions are ever asked. Steer clear of these buses by a width of three passengers.&lt;br /&gt;One-way Street: These boards are put up by traffic people to add jest in their otherwise drab lives. Don't stick to the literal meaning and proceed in one direction. In metaphysical terms, it means that you cannot proceed in two directions at once. So drive as you like, in nreverse throughout, if you are the fussy type. Least I sound hypercritical, I must add a positive point also. Rash and fast driving in residential areas has been prevented by providing a &amp;quot;speed breaker&amp;quot;; two for each house. This mound, incidentally, covers the water and drainage pipes for that residence and is left untarred for easy identification by the corporation authorities, should they want to recover the pipe for year-end accounting. Night driving on Indian roads can be an exhilarating experience for those with the mental make up of Genghis Khan. In a way, it is like playing Russian roulette, because you do not know who amongst the drivers is loaded. What looks like premature dawn on the horizon turns out to be a truck attempting a speed record. On encountering it, just pull partly into the field adjoining the road until the phenomenon passes.Our roads do not have shoulders, but occasional boulders. Do not blink your lights expecting reciprocation. The only dim thing in the truck is the driver, and with the peg of illicit arrack (alcohol) he has had at the last stop, his total cerebral functions add up to little more than a naught. Truck drivers are the James Bonds of India, and are licensed to kill. Often you may encounter a single powerful beam of light about six feet above the ground. This is not a super motorbike, but a truck approaching you with a single light on, usually the left one. It could be the right one, but never get too close to investigate. You may prove your point &lt;br /&gt;&lt;br /&gt;One-way Street: These boards are put up by traffic people to add jest in their otherwise drab lives. Don't stick to the literal meaning and proceed in one direction. In metaphysical terms, it means that you cannot proceed in two directions at once. So drive as you like, in reverse throughout, if you are the fussy type. Least I sound hypercritical, I must add a positive point also. Rash and fast driving in residential areas has been prevented by providing a "speed breaker"; two for each house. This mound, incidentally, covers the water and drainage pipes for that residence and is left untarred for easy identification by the corporation authorities, should they want to recover the pipe for year-end accounting.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Night driving on Indian roads can be an exhilarating experience for those with the mental make up of Genghis Khan. In a way, it is like playing Russian roulette, because you do not know who amongst the drivers is loaded. What looks like premature dawn on the horizon turns out to be a truck attempting a speed record. On encountering it, just pull partly into the field adjoining the road until the phenomenon passes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Our roads do not have shoulders, but occasional boulders. Do not blink your lights expecting reciprocation. The only dim thing in the truck is the driver, and with the peg of illicit arrack (alcohol) he has had at the last stop, his total cerebral functions add up to little more than a naught. Truck drivers are the James Bonds of India, and are licensed to kill. Often you may encounter a single powerful beam of light about six feet above the ground. This is not a super motorbike, but a truck approaching you with a single light on, usually the left one. It could be the right one, but never get too close to investigate. You may prove your point&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-113643845367064198?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/113643845367064198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=113643845367064198' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/113643845367064198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/113643845367064198'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2006/01/driving-in-bangalore-india.html' title='Driving in Bangalore / India'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-113437762130201777</id><published>2005-12-12T14:22:00.002+05:30</published><updated>2010-10-26T19:23:38.023+05:30</updated><title type='text'>Bound by belief...</title><content type='html'>&lt;span style="font-family: verdana;font-family:Verdana;font-size:100%;color:navy;"   &gt;As I was passing the elephants, I suddenly stopped, confused by the fact that these huge creatures were being held by only a small rope tied to their front leg. No chains, no cages. It was obvious that the elephants could, at anytime, break away from their bonds but for some reason, they did not.&lt;/span&gt;&lt;span style=";font-size:100%;color:navy;"  &gt;&lt;br /&gt;&lt;span style="font-family: verdana;"&gt;I saw a trainer near by and asked why these beautiful, magnificent animals just stood there and made no attempt to get away. "Well," he said, "when they are very young and much smaller we use the same size rope to tie them and, at that age, it's enough to hold them. As they grow up, they are conditioned to believe they cannot break away&lt;/span&gt;. &lt;/span&gt;  &lt;p style="color: rgb(255, 255, 255);"&gt;&lt;span style=";font-family:Verdana;font-size:100%;"  &gt;&lt;span style="font-family:Verdana;"&gt;They believe the rope can still hold them, so they never try to break free." I was amazed. These animals could at any time break free from their bonds but because they believed they couldn't, they were stuck right where they were.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt; &lt;/span&gt;&lt;/p&gt;  &lt;span style="color: rgb(255, 255, 255);font-size:100%;" &gt;&lt;b&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span style="font-weight: bold;font-family:Verdana;" &gt;Like the elephants, how many of us go through life hanging onto a belief that we cannot do something, simply because we failed at it once before?&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=";font-size:100%;color:navy;"  &gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-113437762130201777?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/113437762130201777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=113437762130201777' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/113437762130201777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/113437762130201777'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2005/12/bound-by-belief.html' title='Bound by belief...'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-112904143033050358</id><published>2005-10-11T20:06:00.000+05:30</published><updated>2006-11-15T17:34:37.291+05:30</updated><title type='text'>Feeling lucky... hit more Calvin and Hobbes....</title><content type='html'>&lt;ul style="font-family: verdana;" type="square"&gt; &lt;li&gt;&lt;span style="font-size:130%;"&gt;Calvin: Want to play a great game I invented? It's called 'Gross Out'.  You say the grossiest thing you can imagine, and then  I try to think of something even grosser.  Whoever comes up with the grossest thing gets a point, and we play until someone gets 50 points, ok?&lt;br /&gt;Hobbes: I think I alreay know who's going to win.&lt;br /&gt;Calvin: It's wierd nobody has ever played a full game with me.&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Calvin: Oh, like I'm going to learn about bats and THEN write a report? Give me a break!&lt;br /&gt;Calvin: Bats are bugs.&lt;br /&gt;Hobbes; All we have is one 'fact' you made up.&lt;br /&gt;Calvin: Besides, I've got a secret weapon that will GUARANTEE me a good grade! No teacher can resist THIS!  A clear plastic binder! Pretty professional looking, eh?&lt;br /&gt;Hobbes: I don't want co-author credit on this, OK? (Hobbes' statement)&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Hobbes: Miserable Miscreant! Question my integrity, will you?&lt;br /&gt;Calvin: I can't question it until I see some EVIDENCE of it!&lt;br /&gt;You'll never make it till christmas. Give up now and enjoy yourslef. (Hobbes to Calvin on his efforts of being good)&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Safety check on sled:&lt;br /&gt;Seat belts? None.&lt;br /&gt;Signals? None.&lt;br /&gt;Brakes? None.&lt;br /&gt;Steering? None.&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Calvin: See, the box is on its side now.  It's a duplicator!&lt;br /&gt;Hobbes: I can picture the look on your parents' face when they find out they've suddenly had twins.&lt;br /&gt;Calvin: Brother! you doubting thomases get in the way of more scientific advances with your stupid ethical questions! This is a BRILLIANT idea. Hit the button, will ya?&lt;br /&gt;Hobbes: I'd hate to be accused of inhibiting scientific progress... here you go. BOINK (Scientific progress goes 'BOINK'?&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;No. 2: Number three, Hi! I'm number two!&lt;br /&gt;No. 3: Charmed.&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Hobbes: duplicator is a big success.&lt;br /&gt;A Duplicate: Are you kidding? It burned out after the fifth one of us!&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Calvin: Who gets the bed tonite?&lt;br /&gt;Duplicates: we'll fight you for it.&lt;br /&gt;Calvin: Geez, you guys! Even I don't get sent to the principal every DAY!  You're making me look bad!&lt;br /&gt;I'm being framed by my own doubles!  The worst part is that I don't even have the fun of doing the stuff I'm being blamed for.&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Bullet Tracer: My buddies travel light and they're fun to have around. One travels in a holster, and the other in a hip flask.&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Hobbes/Calvin: Truce?&lt;br /&gt;Calvin/Hobbes: Truce.&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Calvin: I don't DO math any more. I decided I'm more of a 'visual' person.&lt;br /&gt;Dad: Good. Visualize being the only 45-year-old in first grade.&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Dad: The theory of relativity works only if you're going west.&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Calvin: Oh no! I am in COOTIE CENTRAL. I haven't had my shots.&lt;br /&gt;Susie: Relax. Stupidity produces antibodies.&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Calvin: I don't WANT to learn teamwork! I don't WANT to learn about winning and losing! Heck, I don't even want to COMPETE! What's wrong with just having fun by yourself, huh?!&lt;br /&gt;Dad: when u grow up, it's not allowed.&lt;br /&gt;Calvin: All the more reason I should do it NOW!&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Clavin:  Hey Hobbes, What's a 'Paper Tiger'?&lt;br /&gt;Hobbes: Its like a paper boy.  You know, a tiger with a newspaper route.&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Dad: I just KNOW some nurse switched the bassinets.&lt;/span&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style="font-size:130%;"&gt;Hobbes:  I have a question.  Why don't we get younger as we go back in time and disappear as we pass the day we were born?&lt;br /&gt;Calvin: I'd explain it, but there's a lot of math.&lt;br /&gt;Hobbes: I thought you got a 'D' in math. &lt;/span&gt;&lt;/li&gt; &lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-112904143033050358?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/112904143033050358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=112904143033050358' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/112904143033050358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/112904143033050358'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2005/10/feeling-lucky-hit-more-calvin-and.html' title='Feeling lucky... hit more Calvin and Hobbes....'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-112903983161413463</id><published>2005-10-11T19:39:00.000+05:30</published><updated>2006-11-15T17:34:37.207+05:30</updated><title type='text'>Calvin &amp; Hobbes.</title><content type='html'>&lt;center style="font-family: verdana;"&gt;&lt;span style="font-size:130%;"&gt;&lt;b&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;CALVIN &amp; HOBBES QUOTES&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/center&gt;   &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;I like maxims that don't encourage behavior modification.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Reality continues to ruin my life.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Weekends don't count unless you spend them doing something completely pointless.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;A little rudeness and disrespect can elevate a meaningless interaction to a battle of wills and add drama to an otherwise dull day.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;It's psychosomatic. You need a lobotomy. I'll get a saw.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;I understand my tests are popular reading in the teachers' lounge.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Life's disappointments are harder to take when you don't know any swear words.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Where do we keep all our chainsaws, Mom?&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;# CALVIN&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;That's the difference between me and the rest of the world! Happiness isn't good enough for me! I demand euphoria!&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;In my opinion, we don't devote nearly enough scientific research to finding a cure for jerks.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;You know, Hobbes, some days even my lucky rocketship underpants don't help.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Its no use! Everybody gets good enemies except me.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;What's the point of wearing your favorite rocketship underpants if nobody ever asks to see 'em?&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;As a math atheist, I should be excused from this.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;This one's tricky. You have to use imaginary numbers, like eleventeen ...&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;I'm learning real skills that I can apply throughout the rest of my life ... Procrastinating and rationalizing.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;I have a hammer! I can put things together! I can knock things apart! I can alter my environment at will and make an incredible din all the while! Ah, it's great to be male!&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;I'm not dumb. I just have a command of thoroughly useless information&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Do you believe in the devil? You know, a supreme evil being dedicated to the temptation, corruption, and destruction of man?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"I'm not sure that man needs the help."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Calvin: I'm a genius, but I'm a misunderstood genius.&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Hobbes: What's misunderstood about you?&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Calvin: Nobody thinks I'm a genius.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Calvin : You can't just turn on creativity like a faucet. You have to be in the right mood.&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Hobbes : What mood is that?&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Calvin : Last-minute panic.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Why isn't my life like a situation comedy? Why don't I have a bunch of friends with nothing better to do but drop by and instigate wacky adventures? Why aren't my conversations peppered with spontaneous witticisms? Why don't my friends demonstrate heartfelt concern for my well being when I have problems? ...I gotta get my life some writers."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"I'm a simple man, Hobbes."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"You?? Yesterday you wanted a nuclear powered car that could turn into a jet with laser-guided heat-seeking missiles!"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"I'm a simple man with complex tastes."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"See Any UFOs?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Not yet."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Well, keep your eyes open, they're bound to land here sometime."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"What will we do when they come?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"See if we can sell mom and dad into slavery for a star cruiser"&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"My powerful brain has come up with a topic for my paper"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Great"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"I'll write about the debate over Tyrannosaurs. Were they fearsome predators or disgusting scavengers?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Which side will you defend?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Oh, I believe they weer fearsome predators, definitely."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"How come?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"They're *so* much cooler that way"&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"I'm not going to so my maths homework. Look at these unsolved problems. Here's a number in mortal combat with another. One of them is going to get subtracted. But why? What will be left of him? If I answered these, it would kill the suspense. It would resolve the conflict and turn intriguing possibilities into boring old facts."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"I never really thought about the literary possibilities of maths."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"I prefer to savour the mystery."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Susie: You'd get a good grade without doing any work.&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Calvin: So?&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Susie: It's wrong to get rewards you haven't earned.&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Calvin: I've never heard of anyone who couldn't live with that.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Bad news Dad. Your polls are way down."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"My polls?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"You rate especialy low among tigers and six year old white males."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Mom's not feeling well. So I'm making her a get well card."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"That's thoughtful of you."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"See, on the front it says, 'Get Well Soon' ... and on the inside it says,'Because me bed isn't made, my clothes need to be put away and I'm hungry. Love Calvin.' Want to sign it?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Sure, I'm hungry too"&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;H : "What do you think is the secret to happiness? Is it money, power or fame?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;C : "I'd choose money. If you have enough money, you can buy fame and power. That way you'r have it all and be really happy. Happiness is being famous for your financial ability to indulge in every kind of excess."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;H : "I suppose thats *one* way to define it."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;C : "The part I think I'd like best is crushing people who get in my way."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Dear Santa. Why is your operation located at the North Pole? I'm guessing cheap elf labour, lower environmental standards, and tax breaks. Is this really the example you want to set for us impressionable kids? ...My plan is to put him on the defensive before he considers how good I've been.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"MOM, CAN I SET FIRE TO MY BED MATTRESS?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"No, Calvin."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"CAN I RIDE MY TRICYCLE ON THE ROOF?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"No, Calvin."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Then can I have a cookie?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"No, Calvin."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"She's on to me."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"What state do you live in?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Denial."&lt;/span&gt; &lt;/p&gt; &lt;dir style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;- Miss Wormwood &amp; Calvin&lt;/span&gt;&lt;/dir&gt;  &lt;span style="font-family: verdana;font-family:Comic Sans MS;font-size:130%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;"Dad, I'd like to have a little talk."&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style="font-family: verdana;font-family:Comic Sans MS;font-size:130%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;"Um...ok."&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style="font-family: verdana;font-family:Comic Sans MS;font-size:130%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;"As the wage earner here, its your responsibility to show some consumer confidence and start buying things that will get the economy going and create profits and employment. Here's a list of some big-ticket items I'd like for Christmas. I hope I can trust you to do whats right for our country."&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style="font-family: verdana;font-family:Comic Sans MS;font-size:130%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;"I've got to stop leaving the Wall Street Journal around."&lt;/span&gt;&lt;/span&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;#&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;INNOCENCE&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;============&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;I go to school, but I never learn what I want to know.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Hobbes : "Do you think there's a God?&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Calvin : "Well somebody's out to get me!"&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Calvin : "Do you really think Bogeymen exist?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Hobbes : "I'm not sure, but if they do, I think this is where they live…"&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"The world isn't fair, Calvin."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"I know Dad, but why isn't it ever unfair in my favour?"&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Too bad the world will be ending soon."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Beg your pardon?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Halley's Comet. Comets are harbingers of doom."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"No they arent, thats just superstition."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Really? Guess I'd better write that book report."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Since September it's just gotten colder and colder. There's less daylight now, I've noticed too. This can only mean one thing - the sun is going out. In a few more months the Earth will be a dark and lifeless ball of ice. Dad says the sun isnt going out. He says its colder because the earth's orbit is taking us farther from the sun. He says winter will be here soon.&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Isn't it sad how some people's grip on their lives is so precarious that they'll embrace any preposterous delusion rather than face an occasional bleak truth?"&lt;/span&gt; &lt;/p&gt; &lt;ul style="font-family: verdana;"&gt; &lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;- Calvin, about to become aware of the concept of winter...&lt;/span&gt; &lt;/ul&gt;  &lt;span style="font-family: verdana;font-family:Comic Sans MS;font-size:130%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;"This article says that many people find christmas the most stressful time of year."&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style="font-family: verdana;font-family:Comic Sans MS;font-size:130%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;"I believe it. This season sure fills *me* with stress."&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style="font-family: verdana;font-family:Comic Sans MS;font-size:130%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;"Really? How come?"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style="font-family: verdana;font-family:Comic Sans MS;font-size:130%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;" I *hate* being good..."&lt;/span&gt;&lt;/span&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Any monsters under my bed tonight?"&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Nope." "No." "Uh-Uh."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Well there *better* not be, I'd hate to have to torch one with my flamethrower!"&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"You have a flamethrower?"&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"They lie. I lie."&lt;/span&gt; &lt;/p&gt; &lt;dir style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;- Calvin, The Monsters Under His Bed &amp; Hobbes&lt;/span&gt;&lt;/dir&gt;  &lt;span style="font-family: verdana;font-family:Comic Sans MS;font-size:130%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;"I wonder where we go when we die?"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style="font-family: verdana;font-family:Comic Sans MS;font-size:130%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;"...Pittsburgh?"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style="font-family: verdana;font-family:Comic Sans MS;font-size:130%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;"You mean if we're good or if we're bad?"&lt;/span&gt;&lt;/span&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;#&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;SOCIETY&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;========&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;I think life should be more like tv. I think all of life's problems ought to be solved in 30 minutes with simple homilies, don't you? I think weight and oral hygiene ought to be our biggest concerns. I think we should all have powerful, high-paying jobs, and everyone should drive fancy sports cars. All our desires should be instantly gratified. Women should always wear tight clothes, and men should carry powerful handguns. Life overall should be more glamorous, thrill-packed, and filled with applause, don't you think?&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;So basically, this maverick is urging everyone to express his individuality through conformity in brand-name selection.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;In my opinion, television validates existence.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Here's a movie we should watch."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Who's in it?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"It says 'Japanese Cast'...two big rubbery monsters slug it out over major metropolitan centres in a battle for world supremacy...doesn't that sound great?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"And people say that foreign film is inaccessible."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Hobbes : "It says here that by the age of 6, most children have seen a million muders on television."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Calvin : "I find that very disturbing...it means I've been watching all the wrong channels."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;H : "What are you doing?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;C : "Being cool."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;H : "You look more like you're bored."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;C : "The world bores you when you're cool."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"I just read this great science-fiction story. It's about how machines take control of humans and turn them into zombie slaves."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"So instead of us controlling machines, they control us? Pretty scary idea."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"I''ll say...*HEY* What time is it? My TV show is on."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;#&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;DEEP&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;====&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;To make a bad day worse, spend it wishing for the impossible.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;So the secret to good self-esteem is to lower your expectations to the point where they're already met?&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;It's only work if somebody makes you do it&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;#&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;GURLS&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;=======&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;My only regret is blowing the best day of my life while I'm so young&lt;/span&gt; &lt;/p&gt; &lt;dir style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;- Calvin prepares a water-balloon ambush for Susie&lt;/span&gt;&lt;/dir&gt;  &lt;span style="font-family: verdana;font-family:Comic Sans MS;font-size:130%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Calvin: Our top-secret club, G.R.O.S.S.-- Get Rid Of Slimy girlS!&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style="font-family: verdana;font-family:Comic Sans MS;font-size:130%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Susie: Slimy girls?!&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style="font-family: verdana;font-family:Comic Sans MS;font-size:130%;"  &gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Calvin: I know that's redundant, but otherwise it doesn't spell anything.&lt;/span&gt;&lt;/span&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;I'm looking for something that can deliver a 50-pound payload of snow on a small feminine target. Can you suggest something? Hello...?&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;Girls are like slugs - they probably serve some purpose, but it's hard to imagine what.&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;We are a fierce and dirty band of cut-throat pirates! Keep a sharp lookout matey, we dont want any sissy girls on our ship!"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"We *dont* like girls???"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Of course not dummy, we're a murderous bunch of pirates, remember?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Who do we smooch then?"&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"There's a new girl in our class."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Well, whats her name?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"WHO KNOWS?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Is she nice?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"WHO CARES? Not me!"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Do you LIKE her?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"NO!"&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Here comes that new girl. HEY SUSIE DERKINS, IS THAT YOUR FACE OR IS A POSSUM STUCK IN YOUR COLLAR? I HOPE YOU SUFFER A DEBILITATING BRAIN ANEURISM, YOU FREAK!"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"She *cute*, isnt she?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"GO AWAY!"&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Hello Susie, this is Calvin. I lost our homework assignment. Can you tell me what we were supposed to read for tomorrow?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Are you sure you're not calling for some other reason?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Why else would I call you?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Maybe you missed the melodious sound of my voice?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"WHAT? Are you crazy? All I want is the STUPID assignment!"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"First say you missed the melodious sound of my voice."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"THIS IS BLACKMAIL!"&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"This meeting of the Get Rid Of Slimy Girls club will now come to order. First Tiger Hobbes will read the minutes of our last meeting."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Thank you. (9:30) Meeting called to order. Dictator For Life Calvin proposed resoultion condemning the existence of girls. (9:35) First Tiger Hobbes abstains from vote. Motion fails. (9:36) Patriotism of First Tiger called into question. (9:37) Philosophical discussion. (10:15) Bandages administered. Dictator For Life rebuked for biting."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Is this a great club or what?"&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"(10:16) Forgot what debate was about. Medals of bravery awarded to all parties."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"I'm never gonna get married. Are you?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Hmm...I suppose if the right person came along, I might. Someone with green eyes and a nice laugh, who I could call 'Pooty Pie'."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"POOTY PIE?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Or bitsy pookums."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"I think that would affect my stomach a lot more than my heart."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Bitsy pookums I'd say. Yes snoogy woogy, she'd reply..."&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;~&lt;/span&gt; &lt;/p&gt; &lt;p style="font-family: verdana;"&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Do you like being a girl?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Its gotta be better than the alternative."&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Whats it like? Is it like being a bug?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"Like a WHAT?"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);font-size:130%;" &gt;"I imagine bugs and girls have a dim perception that nature played a crual trick on them, but they lack the intelligence to really comprehend the magnitude of it."&lt;/span&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-112903983161413463?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.simplych.com/comics.htm' title='Calvin &amp; Hobbes.'/><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/112903983161413463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=112903983161413463' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/112903983161413463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/112903983161413463'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2005/10/calvin-hobbes.html' title='Calvin &amp; Hobbes.'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-112712327240920064</id><published>2005-09-19T15:14:00.000+05:30</published><updated>2006-11-15T17:34:37.134+05:30</updated><title type='text'>Acceptance!!! do we ?</title><content type='html'>This is one of the many stories that i received as forward, &lt;br /&gt;&lt;br /&gt;Truly tear jerking.... Luv unconditionally or luv never !!&lt;br /&gt;&lt;br /&gt;==============================================&lt;br /&gt;A story is told about a soldier who was finally coming home from the war.&lt;br /&gt;&lt;br /&gt;He called his parents from San Francisco.&lt;br /&gt;"Mom and Dad, I'm coming home, but I've a favor to ask.&lt;br /&gt;&lt;br /&gt;I have a friend I'd like to bring home with me.&lt;br /&gt;"Sure," they replied, "we'd love to meet him."&lt;br /&gt;"There's something you should know the son continued,&lt;br /&gt;&lt;br /&gt;"he was hurt pretty badly in the fighting.&lt;br /&gt;&lt;br /&gt;He stepped on a land mine and lost an arm and a leg.&lt;br /&gt;&lt;br /&gt;He has nowhere else to go, and I want him to come live with us."&lt;br /&gt;"I'm sorry to hear that, son.&lt;br /&gt;Maybe we can help him find somewhere to live."&lt;br /&gt;"No, Mom and Dad, I want him to live with us."&lt;br /&gt;"Son," said the father, "you don't know what you're asking.&lt;br /&gt;Someone with such a handicap would be a terrible burden on us.&lt;br /&gt;&lt;br /&gt;We have our own lives to live,&lt;br /&gt;&lt;br /&gt;and we can't let something like this interfere with our lives.&lt;br /&gt;&lt;br /&gt;I think you should just come home and forget about this guy.&lt;br /&gt;&lt;br /&gt;He'll find a way to live on his own."&lt;br /&gt;At that point, the son hung up the phone.&lt;br /&gt;The parents heard nothing more from him.  A few days later, however,&lt;br /&gt;&lt;br /&gt;they received a call from the San Francisco police.&lt;br /&gt;&lt;br /&gt;Their son had died after falling from a building they were told.&lt;br /&gt;&lt;br /&gt;The police believed it was suicide.&lt;br /&gt;&lt;br /&gt;The grief-stricken parents flew to San Francisco and were taken to&lt;br /&gt;the city morgue to identify the body of their son.&lt;br /&gt;&lt;br /&gt;They recognized him, but to their horror they also discovered something&lt;br /&gt;they didn't know,&lt;br /&gt;&lt;br /&gt;their son had only one arm and one leg.&lt;br /&gt;the parents in this story are like many of us.&lt;br /&gt;&lt;br /&gt;We find it easy to love those who are good-looking or fun to have around,&lt;br /&gt;&lt;br /&gt;but we don't like people who inconvenience us or make us feel uncomfortable.&lt;br /&gt;&lt;br /&gt;We would rather stay away from people who aren't as healthy,&lt;br /&gt;beautiful, or smart as we are.&lt;br /&gt;Thankfully, there's someone who won't treat us that way.&lt;br /&gt;Someone who loves us with an unconditional love that welcomes us&lt;br /&gt;into the forever family, regardless of how messed up we are.&lt;br /&gt;Tonight, before you tuck yourself in for the night,&lt;br /&gt;say a little prayer that God will give you the strength you need&lt;br /&gt;to accept people as they are,&lt;br /&gt;and to help us all be more understanding of those&lt;br /&gt;who are different from us!!!&lt;br /&gt;There's a miracle called Friendship That dwells in the heart.&lt;br /&gt;You don't know how it happens or when it gets started. But you know the special&lt;br /&gt;lift it always brings.And you realize that Friendship is God's most precious  gift!&lt;br /&gt;Friends are a very rare jewel, indeed.&lt;br /&gt;They make you smile and encourage you to succeed&lt;br /&gt;They lend an ear, they share a word of praise,&lt;br /&gt;&lt;br /&gt;and They always want to open their hearts to us.&lt;br /&gt; &lt;br /&gt;Show your friends how much you care....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-112712327240920064?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/112712327240920064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=112712327240920064' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/112712327240920064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/112712327240920064'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2005/09/acceptance-do-we.html' title='Acceptance!!! do we ?'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-111208872245189553</id><published>2005-03-29T14:50:00.000+05:30</published><updated>2006-11-15T17:34:37.061+05:30</updated><title type='text'>Funny One Liners.........</title><content type='html'>&lt;ol&gt;&lt;li&gt;Regular naps prevent old age... especially if you take them while driving.&lt;/li&gt;&lt;li&gt;Having one child makes you a parent; having two you are a referee. &lt;/li&gt;&lt;li&gt;Marriage is a relationship in which one person is always right and the other is husband ! &lt;/li&gt;&lt;li&gt;I believe we should all pay our tax with a smile. I tried - but they wanted cash &lt;/li&gt;&lt;li&gt;Don't feel bad. A lot of people have no talent. &lt;/li&gt;&lt;li&gt;Don't marry the person you want to live with, marry the one you cannot live without,,, but whatever you do, you'll regret it later. &lt;/li&gt;&lt;li&gt;You can't buy love . . . but you pay heavily for it &lt;/li&gt;&lt;li&gt;Forgiveness is giving up my right to hate you for hurting me. &lt;/li&gt;&lt;li&gt;Bad officials are elected by good citizens who do not vote. &lt;/li&gt;&lt;li&gt;Laziness is nothing more than the habit of resting before you get tired &lt;/li&gt;&lt;li&gt;Marriage is give and take. You'd better give it to her or she'll take it anyway.&lt;/li&gt;&lt;li&gt;My wife and I always compromise. I admit I'm wrong and she agrees with me. &lt;/li&gt;&lt;li&gt;Those who can't laugh at themselves leave the job to others. &lt;/li&gt;&lt;li&gt;Ladies first. Pretty ladies &lt;span style="font-size:85%;"&gt;sooner&lt;/span&gt;. &lt;/li&gt;&lt;li&gt;A successful marriage requires falling in love many times, always with the same person. &lt;/li&gt;&lt;li&gt;You're getting old when you enjoy remembering things more than doing them. &lt;/li&gt;&lt;li&gt;It doesn't matter how often a married man changes his job, he still ends up with the same boss.&lt;/li&gt;&lt;li&gt;Early to bed, early to rise, your girl goes out with other guys. &lt;/li&gt;&lt;li&gt;Real friends are the ones who survive transitions between address books. &lt;/li&gt;&lt;li&gt;Saving is the best thing. Especially when your parents have done it for you. &lt;/li&gt;&lt;li&gt;Wise men talk because they have something to say; fools talk because they have to say something &lt;/li&gt;&lt;li&gt;They call our language the mother tongue because the father seldom gets to speak&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-111208872245189553?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/111208872245189553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=111208872245189553' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/111208872245189553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/111208872245189553'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2005/03/funny-one-liners.html' title='Funny One Liners.........'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-109991429668136492</id><published>2004-11-08T17:01:00.000+05:30</published><updated>2006-11-15T17:34:37.000+05:30</updated><title type='text'>A Son long gone.....</title><content type='html'>   	&lt;meta equiv="CONTENT-TYPE" content="text/html; charset=utf-8"&gt;&lt;title&gt;&lt;/title&gt;&lt;meta name="GENERATOR" content="OpenOffice.org 1.1.0  (Linux)"&gt;&lt;meta name="CREATED" content="20041108;15472500"&gt;&lt;meta name="CHANGED" content="20041108;15494700"&gt; 	 	 	 	 	&lt;style&gt; 	&lt;!-- 		@page { size: 8.27in 11.69in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	--&gt; 	&lt;/style&gt;  &lt;div style="text-align: left;"&gt; &lt;/div&gt; &lt;p style="margin-bottom: 0in; font-family: arial; font-style: italic; color: rgb(204, 0, 0); text-align: left;"&gt;she puts her fragile hand over forhead, gazing with her ever dimming eyes... looked to the farthest horizon,looking for a sign of her son's return, A son gone long ago... &lt;/p&gt;       &lt;p style="margin-bottom: 0in; font-family: arial; font-style: italic; color: rgb(204, 0, 0);"&gt;His mere sight brings joy to all...His touch blossomed the life again.....&lt;br /&gt;Life looks bleak.. yet holding the last few breath waits his arrival, so yet again it can bloom and dance with joy...&lt;/p&gt; &lt;p style="margin-bottom: 0in; font-family: arial; font-style: italic; color: rgb(204, 0, 0);"&gt;The streams came to a stand still, rivers  to halt...&lt;br /&gt;birds don't sing any more, flowers don't smile, trees bared.&lt;br /&gt;Children wait for his return... to play with him like they did before.  &lt;/p&gt;       &lt;p style="margin-bottom: 0in; font-family: arial; font-style: italic; color: rgb(204, 0, 0);"&gt;Son not delay any further.... else u come only to find...&lt;br /&gt;many left their soul... just waiting for you...&lt;br /&gt;Should have been here by now...never has eluded me like this before....&lt;/p&gt; &lt;p style="margin-bottom: 0in; font-family: arial; font-style: italic; color: rgb(204, 0, 0);"&gt;With the ever dimming eyes ... she looked at the fartherst horizon... for a sign,&lt;br /&gt;A sign, of her son gone long ago. A son whom she called....................THE RAIN.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-109991429668136492?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/109991429668136492/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=109991429668136492' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/109991429668136492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/109991429668136492'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2004/11/son-long-gone.html' title='A Son long gone.....'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-109897536354883955</id><published>2004-10-28T19:40:00.000+05:30</published><updated>2006-11-15T17:34:36.933+05:30</updated><title type='text'>Mein aaisa kyon hoon...</title><content type='html'>Mein Aaisa Kyon Hoon ... Mein Aaisa Kyon Hoon...&lt;br /&gt;Thats exactly the feeling i am going thru...  As every childs dream i wanted to be a pilot, a JET FIGHTER Pilot... dropping plenty of bombs.. hmmm.. quite a distructive dream... come to think of it.. good i did not become a pilot.. 2 reasons, one i will not get to bomb at will. Two  What if i am flying one of those Indian Air Force war planes.. that are in news for all wrong reasons... :(&lt;br /&gt;&lt;br /&gt;Next i wanted to be a cricketer.... come sun, rain what may... played plenty of cricket, for cricket i had dislodged my elbow, (i have a feeling its still not fixed right..). But when responsibility came calling..droped the bat and the ball to find the path to career.&lt;br /&gt;When i see a good painting... I am determined to become a painter.. a good photograph.. or a wonderfully sophisticated  camera .. i ponder how abt a National Geographic Photographer. that way i get to travel a lot which i luv too and make some big bucks...&lt;br /&gt;&lt;br /&gt;Sometime back when i wanted to become the next Vishwanath Anand.. but that dream came down crashing.. when i could not beat my computer in the beginner's level despite giving it a go too many a times, but i realised one thing a computer is no match to me at kick boxing :))&lt;br /&gt;&lt;br /&gt;  Today i am working in IT field... something that was not in my list of dreams... I guess one's dreams and ambitions change according to the time and situation (s)he is place in.... (atleast most of the people). some time i do humm the tune... Mein Aaisa Kyon Hoon.. Mein Aaisa Kyon Hoon.... ;-).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-109897536354883955?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/109897536354883955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=109897536354883955' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/109897536354883955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/109897536354883955'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2004/10/mein-aaisa-kyon-hoon.html' title='Mein aaisa kyon hoon...'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8818498.post-109880273181542825</id><published>2004-10-26T20:04:00.000+05:30</published><updated>2006-11-15T17:34:36.795+05:30</updated><title type='text'>A madness called Cricket........</title><content type='html'>From the time i coult hit a ball with a bat, since then i am following cricket. I am awed by the reach of the game, its influence, the madness it brings out amonst the masses....  a topic that is discussed by the current and the older generation alike.&lt;br /&gt;       It often leaves me wondering why is this sport such a topic of discussion, why am i so elated when i see the men in blue win the matches... it leaves me chest swelled with pride and honour... why does it steals my appetite and my sleep when i see the team india crumble... When india is playing, then cricket and related issues are discussed across the lenght and breath of india, its a jubliant feeling to hear the crakers go off and the whole nation goes into celebration the india wins as though its one festival thats common to all the umpteen religion and caste india has.&lt;br /&gt;        This game has achived something very distinct something fantablous - its brought the nation together....&lt;br /&gt;&lt;br /&gt;Truely... its a madness.. thats called CRICKET.....&lt;br /&gt;   &lt;br /&gt; &lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8818498-109880273181542825?l=retheesh.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://retheesh.blogspot.com/feeds/109880273181542825/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8818498&amp;postID=109880273181542825' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/109880273181542825'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8818498/posts/default/109880273181542825'/><link rel='alternate' type='text/html' href='http://retheesh.blogspot.com/2004/10/madness-called-cricket.html' title='A madness called Cricket........'/><author><name>retheesh</name><uri>http://www.blogger.com/profile/01534394698793168966</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://4.bp.blogspot.com/_EUa-gcRJ1g8/SOT52degwqI/AAAAAAAAA40/WZSFDA1EA6U/S220/DSC01694_JPG.jpg'/></author><thr:total>1</thr:total></entry></feed>
