<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-14305292</atom:id><lastBuildDate>Thu, 28 Jul 2011 22:48:47 +0000</lastBuildDate><category>How Virtual Private Networks Work</category><category>IP addresses to set up fault tolerance</category><title>Unix Commands</title><description>AIX monitoring commands</description><link>http://janu123.blogspot.com/</link><managingEditor>noreply@blogger.com (Janu)</managingEditor><generator>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Unix-Commands" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="unix-commands" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">Unix-Commands</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item><guid isPermaLink="false">tag:blogger.com,1999:blog-14305292.post-4539619826619725244</guid><pubDate>Wed, 24 Feb 2010 06:44:00 +0000</pubDate><atom:updated>2010-02-24T12:17:24.114+05:30</atom:updated><title>Is a Google Talk Contact Invisible?</title><description>&lt;h2&gt;&lt;span style="color: rgb(51, 204, 204);font-family:Calibri;font-size:11;"  &gt;Is a Google Talk Contact Invisible?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/h2&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="color: rgb(51, 204, 204);font-family:Calibri;font-size:11;"  &gt;Sometimes error messages can reveal more than they were supposed to. Rahul Bansal writes about a simple trick that helps you find out if one of your Google Talk contacts is offline or uses the invisible mode. The trick takes advantage of Google's off the record feature which lets you chat with your contacts without saving the conversations in Gmail.&lt;br /&gt;&lt;br /&gt;"Chats that have been taken off the record aren't stored in your Gmail chat history, or in the Gmail chat history of your contact. You and the person you're talking to can both see when a chat is taken off the record, and you'll be notified if off the record mode is disabled. Your off the record settings will apply whenever you chat with this person, until one of you makes a change."&lt;br /&gt;&lt;br /&gt;Let's say you want to know if your co-worker Michael is really offline. If you start a chat when he is online and select "go off the record", none of your messages will be saved in Michael's Gmail account. That means the next time Michael appears to be offline and you send a message, there are three possibilities:&lt;br /&gt;&lt;br /&gt;1. Michael is offline or he has blocked you: Google will display the error "&lt;i&gt;Michael did not receive your chat&lt;/i&gt;" (Gmail Chat) or "&lt;i&gt;Michael may not have received your message&lt;/i&gt;" (Google Talk gadget). Offline messages are sent as regular messages in Gmail, but this is not possible because the conversations between you and Michael are off the record. Michael won't receive your message.&lt;br /&gt;&lt;br /&gt;2. Michael is invisible: you won't see any error, but Michael will receive your message.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_yZoosyFdIA8/S4TLJ886g1I/AAAAAAAAAQ4/9Wz-jdf_tsA/s1600-h/gmail-chat-invisible-chat.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 241px; height: 213px;" src="http://4.bp.blogspot.com/_yZoosyFdIA8/S4TLJ886g1I/AAAAAAAAAQ4/9Wz-jdf_tsA/s400/gmail-chat-invisible-chat.png" alt="" id="BLOGGER_PHOTO_ID_5441697621611283282" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;i&gt;&lt;span style="color: rgb(51, 204, 204);font-family:Calibri;font-size:11;"  &gt;Michael is "invisible"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_yZoosyFdIA8/S4TLQBXvJHI/AAAAAAAAARA/x83QlIMQP68/s1600-h/gmail-chat-invisible-chat-2.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 235px; height: 260px;" src="http://2.bp.blogspot.com/_yZoosyFdIA8/S4TLQBXvJHI/AAAAAAAAARA/x83QlIMQP68/s400/gmail-chat-invisible-chat-2.png" alt="" id="BLOGGER_PHOTO_ID_5441697725876741234" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;i&gt;&lt;span style="color: rgb(51, 204, 204);font-family:Calibri;font-size:11;"  &gt;Michael is now offline&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;span style="color: rgb(51, 204, 204);font-family:Calibri;font-size:11;"  &gt;&lt;br /&gt;"Now the only tricky part is finding a user online for once to set chat off the records. This doesn't seem hard as invisible status is still limited to Gmail version of Google Talk and you may be in luck if your friend uses Google Talk desktop clients/gadgets or third party IM client to chat," It's important to note that the invisible status is available in Gmail Chat, Google Talk gadget&lt;o:p&gt;&lt;/o:p&gt;&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/14305292-4539619826619725244?l=janu123.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://janu123.blogspot.com/2010/02/is-google-talk-contact-invisible.html</link><author>noreply@blogger.com (Janu)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_yZoosyFdIA8/S4TLJ886g1I/AAAAAAAAAQ4/9Wz-jdf_tsA/s72-c/gmail-chat-invisible-chat.png" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-14305292.post-6179348625527112021</guid><pubDate>Wed, 24 Feb 2010 05:48:00 +0000</pubDate><atom:updated>2010-02-24T11:19:26.235+05:30</atom:updated><title>Hack Yahooo Messenger and GoogleTalk to Open Multiple instances</title><description>&lt;h2&gt;HACK YAHOO MESSENGER AND GOOGLE TALK TO OPEN MULTIPLE INSTANCES&lt;o:p&gt;&lt;/o:p&gt;&lt;/h2&gt;  &lt;p&gt;HERE’s a simple hack for yahoo messenger and google talk through which u can create multiple instances if in case u need to..&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;h3&gt;&lt;u&gt;FOR YAHOO MESSENGER &lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h3&gt;  &lt;p&gt;Go to Start -&gt; Run -&gt; Type regedit -&gt; hit enter&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Go to HKEY_CURRENT_USER-&gt;&gt; Software -&gt;&gt; Yahoo -&gt;&gt; pager -&gt;&gt;Test&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Right click on test -&gt; choose new Dword value .&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Rename it as Plural.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Double click it -&gt; assign a decimal value of 1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Close registry -&gt; Restart yahoo messenger.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;NOW you can open yahoo messenger N number of times&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;h3&gt;&lt;u&gt;FOR GOOGLE TALK&lt;/u&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h3&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Create a shortcut of Google      Talk messenger on your desktop or any other location.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Right click on the Google      Talk messenger icon and select properties option&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Modify target location text      by this&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p&gt;&lt;i&gt;“c:\program files\google\google talk\googletalk.exe” /&lt;b&gt;startmenu&lt;/b&gt; &lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;&lt;i&gt;to&lt;/i&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;&lt;span class="fullpost"&gt;&lt;i&gt;“c:\program files\google\google talk\googletalk.exe” /&lt;b&gt;nomutex&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style=""&gt;Click OK&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p&gt;Now you can run multiple instances of google talk .&lt;/p&gt;  &lt;p&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p&gt;Happy chatting &lt;span style="font-family:Wingdings;"&gt;&lt;span style=""&gt;J&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14305292-6179348625527112021?l=janu123.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://janu123.blogspot.com/2010/02/hack-yahoo-messenger-and-google-talk-to.html</link><author>noreply@blogger.com (Janu)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-14305292.post-8765293744396384163</guid><pubDate>Tue, 03 Feb 2009 09:49:00 +0000</pubDate><atom:updated>2009-02-03T15:50:34.982+05:30</atom:updated><title>SSH &amp; SCP</title><description>&lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family:CMBX12;"&gt;&lt;span style="color: rgb(255, 102, 102);font-size:180%;" &gt;What is SSH&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family:CMBX12;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;SSH (Secure SHell) is a network protocol which provides a replacement for insecure remote login&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;and command execution facilities, such as telnet, rlogin and rsh. SSH encrypts traffic in both&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;directions, preventing traffic sniffing and password theft. SSH also offers several additional useful&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;features:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMSY10;font-size:10;"  &gt;• &lt;/span&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;Compression: traffic may be optionally compressed at the stream level.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMSY10;font-size:10;"  &gt;• &lt;/span&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;Public key authentication: optionally replacing password authentication.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMSY10;font-size:10;"  &gt;• &lt;/span&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;Authentication of the server: making ”man-in-the-middle” attack more difficult&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMSY10;font-size:10;"  &gt;• &lt;/span&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;Port forwarding: arbitrary TCP sessions can be forwarded over an SSH connection.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMSY10;font-size:10;"  &gt;• &lt;/span&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;X11 forwarding: SSH can forward your X11 sessions too.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMSY10;font-size:10;"  &gt;• &lt;/span&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;File transfer: the SSH protocol family includes two file transfer protocols.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMBX12;font-size:14;"  &gt;Basic SSH usage&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMBX12;font-size:14;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family:CMBX12;"&gt;Remote login&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-family:CMBX12;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;The basic syntax to log into a remote host is:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;ssh hostname&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;If you want to specify a username, you may do it using an rlogin-compatible format:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;ssh -l user hostname&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;or a slightly more simple syntax:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;ssh user@hostname&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;If you are running your sshd on a non-stand&lt;/span&gt;&lt;span style=";font-family:CMBX12;font-size:10;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;b style=""&gt;&lt;span style="font-family:CMBX10;"&gt;&lt;span style="color: rgb(255, 0, 0);font-size:180%;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style=""&gt;&lt;b style=""&gt;&lt;span style="font-family:CMBX10;"&gt;&lt;span style="color: rgb(255, 0, 0);font-size:180%;" &gt;&lt;span style="color: rgb(255, 153, 0);"&gt;--------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal" style=""&gt;&lt;b style=""&gt;&lt;span style="font-family:CMBX10;"&gt;&lt;span style="color: rgb(255, 0, 0);font-size:180%;" &gt;SCP&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;b style=""&gt;&lt;span style="font-family:CMBX10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;scp is the original SSH file transfer mechanism. It is modeled on BSD rcp, a protocol with a 15+&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;year history which has no RFC. Its syntax is very simple:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;scp [user@]host:/path/to/source/file /path/to/destination/file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;Will copy a remote file to a local destination. To copy a local file to a remote destination, one&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;uses the opposite syntax:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;scp /path/to/source/file [user@]host:/path/to/destination/file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;In either of these cases, the source file may be a wild-card matching multiple files. If a patch is&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;left off the destination file specification, the remote user’s home directory is assumed. E.g.:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;scp /home/djm/*.diff hachi:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;scp does not support copying between two remote destinations very well. It is possible using the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;following syntax:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;scp [user@]host1:/path [user@]host2:/path&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;For this to work, host1 must be configured for password less access to host2 (see section 4). Also&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;little feedback is given to the user on whether the operation succeeded.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;scp can also copy files recursively:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;scp -r source-path [user@]host:/destination-path&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;scp -r [user@]host:/source-path /destination-path&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;While it is useful for simple file transfer tasks, it has a number of limitations. The most annoying&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;of these is poor handling of file which contain characters which may be interpreted by the shell&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;(e.g. spaces). For example:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;[djm@roku djm]$ scp "hachi:/mp3/J.S Bach/Matthaus Passion 0101.ogg" /tmp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;cp: cannot stat ‘/mp3/J.S.’: No such file or directory&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;cp: cannot stat ‘Bach/Matthaus’: No such file or directory&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;cp: cannot stat ‘Passion’: No such file or directory&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;cp: cannot stat ‘0101.ogg’: No such file or directory&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;In these cases you need to double-escape the characters in question:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;scp "hachi:/mp3/J.S.\ Bach/Matthaus\ Passion\ 0101.ogg" /tmp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;Another problem inherent to scp is that it needs to be able to find a scp binary at the remote end.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;Usually such commands are correctly installed in the remote systems $PATH, but if they are not&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;then transfers will fail:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;[djm@roku djm]$ scp hachi:/tmp/foo /tmp&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMTT10;font-size:10;"  &gt;bash: scp: command not found&lt;/span&gt;&lt;span style=";font-family:CMBX10;font-size:10;"  &gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style=";font-family:CMR10;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14305292-8765293744396384163?l=janu123.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://janu123.blogspot.com/2009/02/ssh-scp.html</link><author>noreply@blogger.com (Janu)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-14305292.post-8742361772629470431</guid><pubDate>Fri, 23 Jan 2009 12:27:00 +0000</pubDate><atom:updated>2009-01-23T17:58:11.956+05:30</atom:updated><title>How to find the runlevel in linux</title><description>How to find number of processors in linux&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;$cat /proc/cpuinfo | grep processor&lt;br /&gt;processor    : 0&lt;br /&gt;processor    : 1&lt;br /&gt;It has two logical processors&lt;br /&gt;$cat /proc/cpuinfo|grep physical&lt;br /&gt;physical id    : 0&lt;br /&gt;physical id    : 0&lt;br /&gt;It has single physical processor&lt;br /&gt;&lt;br /&gt;&lt;span style="border-bottom: medium none; background: transparent none repeat scroll 0% 50%; cursor: pointer; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;" class="yshortcuts" id="lw_1232713496_0"&gt;Processor: Intel dual core&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Janu&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14305292-8742361772629470431?l=janu123.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://janu123.blogspot.com/2009/01/how-to-find-runlevel-in-linux.html</link><author>noreply@blogger.com (Janu)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-14305292.post-4964209616966913467</guid><pubDate>Thu, 15 Jan 2009 08:37:00 +0000</pubDate><atom:updated>2009-01-15T14:09:26.601+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">IP addresses to set up fault tolerance</category><title>IP addresses to set up fault tolerance?</title><description>&lt;div class="entry-body"&gt; &lt;p&gt;Why do I need so many IP addresses to set up fault tolerance?&lt;/p&gt;&lt;/div&gt; &lt;div class="entry-more" id="more"&gt; &lt;p&gt;There are three 'classes' of IP addresses that we use: &lt;/p&gt;  &lt;p&gt;1) 'Front-end' IP addresses - think of these as what are the current IP  addresses of each of the Load Balancer machines. Each machine must have a unique  IP address to identify itself, so you can contact it directly. &lt;/p&gt;  &lt;p&gt;'2) Traffic' IP addresses - these are the addresses of your load balancers  that the outside world will see and know about. You need at least two of these  (so the balancers can have an address each). Unlike the 'front-end' IP  addresses, traffic IP addresses are not tied to one machine - they get shared  around and moved. For instance, if one of the balancer machines dies, then the  other balancer will take its traffic IP address. This way, visitors will always  be able to reach your site. &lt;/p&gt;  &lt;p&gt;'3) Back-end' IP addresses - the balancer machines use these IP addresses to  contact the back-end servers. The balancer machines will normally have two  network cards for performance. The front-end and traffic IP addresses should be  on one of the network cards, and the back-end IP address will be on the other  card. &lt;/p&gt;  &lt;p&gt;The Load Balancer will control the traffic IP addresses itself. The other IP  addresses should be configured properly in the operating system.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Janu&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14305292-4964209616966913467?l=janu123.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://janu123.blogspot.com/2009/01/ip-addresses-to-set-up-fault-tolerance.html</link><author>noreply@blogger.com (Janu)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-14305292.post-3380181276376265350</guid><pubDate>Thu, 15 Jan 2009 08:37:00 +0000</pubDate><atom:updated>2009-01-15T14:09:26.609+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">How Virtual Private Networks Work</category><title>How Virtual Private Networks Work</title><description>&lt;p&gt;As the popularity of the Internet grew, businesses turned to it as a means of  extending their own networks. First came intranets, which are password-protected  sites designed for use only by company employees. Now, many companies are  creating their own VPN (virtual private network) to accommodate the needs of  remote employees and distant offices. &lt;/p&gt; &lt;p&gt;&lt;br /&gt;A typical VPN might have a main LAN at the corporate headquarters of a  company, other LANs at remote offices or facilities and individual users  connecting from out in the field.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://computer.howstuffworks.com/vpn2.htm"&gt;http://computer.howstuffworks.com/vpn2.htm&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Basically, a VPN is a private network that uses a public network (usually the  Internet) to connect remote sites or users together. Instead of using a  dedicated, real-world connection such as leased line, a VPN uses "virtual"  connections routed through the Internet from the company's private network to  the remote site or employee. In this article, you will gain a fundamental  understanding of VPNs, and learn about basic VPN components, technologies,  tunneling and security.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14305292-3380181276376265350?l=janu123.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://janu123.blogspot.com/2009/01/how-virtual-private-networks-work.html</link><author>noreply@blogger.com (Janu)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-14305292.post-1806753059318764957</guid><pubDate>Tue, 13 Jan 2009 17:55:00 +0000</pubDate><atom:updated>2009-01-13T23:25:46.645+05:30</atom:updated><title>Domain Names</title><description>&lt;span style="font-weight: bold; font-size:100%;"&gt;&lt;span style="font-family:arial;"&gt;Domain Names&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 102, 255); font-family:arial;"&gt;Because most people have trouble remembering the strings of numbers that make up IP addresses, and because IP addresses sometimes need to change, all servers on the Internet also have human-readable names, called domain names. For example, www.howstuffworks.com is a permanent, human-readable name. It is easier for most of us to remember www.howstuffworks.com than it is to remember 209.116.69.66.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-family:arial;"&gt;The name www.howstuffworks.com actually has three parts:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-family:arial;"&gt;1. The host name ("www")&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-family:arial;"&gt;2. The domain name ("howstuffworks")&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-family:arial;"&gt;3. The top-level domain name ("com")&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-family:arial;"&gt;Domain names within the ".com" domain are managed by the registrar called VeriSign. VeriSign also manages ".net" domain names. Other registrars (like RegistryPro, NeuLevel and Public Interest Registry) manage the other domains (like .pro, .biz and .org). VeriSign creates the top-level domain names and guarantees that all names within a top-level domain are unique. VeriSign also maintains contact information for each site and runs the "whois" database. The host name is created by the company hosting the domain. "www" is a very common host name, but many places now either omit it or replace it with a different host name that indicates a specific area of the site. For example, in encarta.msn.com, the domain name for Microsoft's Encarta encyclopedia, "encarta" is designated as the host name instead of www.&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/14305292-1806753059318764957?l=janu123.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://janu123.blogspot.com/2009/01/domain-names.html</link><author>noreply@blogger.com (Janu)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-14305292.post-8809055098769350232</guid><pubDate>Tue, 13 Jan 2009 17:54:00 +0000</pubDate><atom:updated>2009-01-13T23:25:00.329+05:30</atom:updated><title>IP Addresses</title><description>&lt;span style="font-weight: bold; font-family:arial;"&gt;The Internet&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-family:arial;"&gt;Client Servers&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold; font-family:arial;"&gt;IP Addresses&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 102, 255); font-family:arial;"&gt;To keep all of these machines straight, each machine on the Internet is assigned a unique address called an IP address. IP stands for Internet protocol, and these addresses are 32-bit numbers, normally expressed as four "octets" in a "dotted decimal number." A typical IP address looks like this:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-family:arial;"&gt;216.27.61.137&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-family:arial;"&gt;The four numbers in an IP address are called octets because they can have values between 0 and 255, which is 28 possibilities per octet.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-family:arial;"&gt;Every machine on the Internet has a unique IP address. A server has a static IP address that does not change very often. A home machine that is dialing up through a modem often has an IP address that is assigned by the ISP when the machine dials in. That IP address is unique for that session -- it may be different the next time the machine dials in. This way, an ISP only needs one IP address for each modem it supports, rather than for each customer.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-family:arial;"&gt;If you are working on a Windows machine, you can view a lot of the Internet information for your machine, including your current IP address and hostname, with the command WINIPCFG.EXE (IPCONFIG.EXE for Windows 2000/XP). On a UNIX machine, type nslookup at the command prompt, along with a machine name, like www.howstuffworks.com -- e.g. "nslookup www.howstuffworks.com" -- to display the IP address of the machine, and you can use the command hostname to learn the name of your machine. (For more information on IP addresses, see IANA.)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255); font-family:arial;"&gt;As far as the Internet's machines are concerned, an IP address is all you need to talk to a server. For example, in your browser, you can type the URL http://209.116.69.66 and arrive at the machine that contains the Web server for HowStuffWorks. On some servers, the IP address alone is not sufficient, but on most large servers it is -- keep reading for details.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14305292-8809055098769350232?l=janu123.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://janu123.blogspot.com/2009/01/ip-addresses.html</link><author>noreply@blogger.com (Janu)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-14305292.post-8190200154181801194</guid><pubDate>Tue, 12 Feb 2008 16:42:00 +0000</pubDate><atom:updated>2008-02-12T23:18:32.233+05:30</atom:updated><title>How Web Works</title><description>&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(255, 102, 102);font-size:130%;" &gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;Inside This Article&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="color: rgb(102, 51, 255);font-family:arial;font-size:85%;"  &gt;1.&lt;/span&gt;&lt;span style="color: rgb(102, 51, 255);font-family:arial;font-size:85%;"  &gt;Introduction to How Web Servers Work&lt;br /&gt;2.The Basic Process&lt;br /&gt;3.Behind the Scenes&lt;br /&gt;4.The Internet&lt;br /&gt;5.Clients and Servers&lt;br /&gt;6.IP Addresses&lt;br /&gt;7.Domain Names&lt;br /&gt;8.Name Servers&lt;br /&gt;9.Ports&lt;br /&gt;10.Protocols&lt;br /&gt;11.Putting It All Together&lt;br /&gt;12.Extras: Security&lt;br /&gt;13.Extras: Dynamic Pages&lt;br /&gt;14.Lots More Information&lt;br /&gt;15.See all Internet articles&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;font-size:100%;"  &gt;Basic Process&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;font-size:85%;"  &gt;Your browser formed a connection to a Web server, requested a page and received it.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;Behind the Scenes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 102, 255);font-size:85%;" &gt;&lt;span style="font-family:arial;"&gt;If you want to get into a bit more detail on the process of getting a Web page onto your computer screen, here are the basic steps that occurred behind the scenes:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;• The browser broke the URL into three parts:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;1. The protocol ("http")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;2. The server name ("www.howstuffworks.com")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;3. The file name ("web-server.htm")&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;• The browser communicated with a name server to translate the server name "www.howstuffworks.com" into an IP Address, which it uses to connect to the server machine.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;• The browser then formed a connection to the server at that IP address on port 80. (We'll discuss ports later in this article.)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;• Following the HTTP protocol, the browser sent a GET request to the server, asking for the file "http://www.howstuffworks.com/web-server.htm." (Note that cookies may be sent from browser to server with the GET request -- see How Internet Cookies Work for details.)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;• The server then sent the HTML text for the Web page to the browser. (Cookies may also be sent from server to browser in the header for the page.)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;• The browser read the HTML tags and formatted the page onto your screen.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;If you've never explored this process before, that's a lot of new vocabulary. To understand this whole process in detail, you need to learn about IP addresses, ports, protocols... The following sections will lead you through a complete explanation.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;The Internet&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;Client Servers&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;IP Addresses&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;To keep all of these machines straight, each machine on the Internet is assigned a unique address called an IP address. IP stands for Internet protocol, and these addresses are 32-bit numbers, normally expressed as four "octets" in a "dotted decimal number." A typical IP address looks like this:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;         216.27.61.137&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;The four numbers in an IP address are called octets because they can have values between 0 and 255, which is 28 possibilities per octet.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;Every machine on the Internet has a unique IP address. A server has a static IP address that does not change very often. A home machine that is dialing up through a modem often has an IP address that is assigned by the ISP when the machine dials in. That IP address is unique for that session -- it may be different the next time the machine dials in. This way, an ISP only needs one IP address for each modem it supports, rather than for each customer.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;If you are working on a Windows machine, you can view a lot of the Internet information for your machine, including your current IP address and hostname, with the command WINIPCFG.EXE (IPCONFIG.EXE for Windows 2000/XP). On a UNIX machine, type nslookup at the command prompt, along with a machine name, like www.howstuffworks.com -- e.g. "nslookup www.howstuffworks.com" -- to display the IP address of the machine, and you can use the command hostname to learn the name of your machine. (For more information on IP addresses, see IANA.)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;As far as the Internet's machines are concerned, an IP address is all you need to talk to a server. For example, in your browser, you can type the URL http://209.116.69.66 and arrive at the machine that contains the Web server for HowStuffWorks. On some servers, the IP address alone is not sufficient, but on most large servers it is -- keep reading for details.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;span style="font-family:arial;"&gt;Domain Names&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;Because most people have trouble remembering the strings of numbers that make up IP addresses, and because IP addresses sometimes need to change, all servers on the Internet also have human-readable names, called domain names. For example, www.howstuffworks.com is a permanent, human-readable name. It is easier for most of us to remember www.howstuffworks.com than it is to remember 209.116.69.66.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;The name www.howstuffworks.com actually has three parts:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;1. The host name ("www")&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;2. The domain name ("howstuffworks")&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;3. The top-level domain name ("com")&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;Domain names within the ".com" domain are managed by the registrar called VeriSign. VeriSign also manages ".net" domain names. Other registrars (like RegistryPro, NeuLevel and Public Interest Registry) manage the other domains (like .pro, .biz and .org). VeriSign creates the top-level domain names and guarantees that all names within a top-level domain are unique. VeriSign also maintains contact information for each site and runs the "whois" database. The host name is created by the company hosting the domain. "www" is a very common host name, but many places now either omit it or replace it with a different host name that indicates a specific area of the site. For example, in encarta.msn.com, the domain name for Microsoft's Encarta encyclopedia, "encarta" is designated as the host name instead of www.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;&lt;span style="font-family:arial;"&gt;Name Servers&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;The whois Command&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;On a UNIX machine, you can use the whois command to look up information about a domain name. You can do the same thing using the whois form at VeriSign. If you type in a domain name, like "howstuffworks.com," it will return to you the registration information for that domain, including its IP address.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;A set of servers called domain name servers (DNS) maps the human-readable names to the IP addresses. These servers are simple databases that map names to IP addresses, and they are distributed all over the Internet. Most individual companies, ISPs and universities maintain small name servers to map host names to IP addresses. There are also central name servers that use data supplied by VeriSign to map domain names to IP addresses.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;If you type the URL "http://www.howstuffworks.com/web-server.htm" into your browser, your browser extracts the name "www.howstuffworks.com," passes it to a domain name server, and the domain name server returns the correct IP address for www.howstuffworks.com. A number of name servers may be involved to get the right IP address. For example, in the case of www.howstuffworks.com, the name server for the "com" top-level domain will know the IP address for the name server that knows host names, and a separate query to that name server, operated by the HowStuffWorks ISP, may deliver the actual IP address for the HowStuffWorks server machine.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;On a UNIX machine, you can access the same service using the nslookup command. Simply type a name like "www.howstuffworks.com" into the command line, and the command will query the name servers and deliver the corresponding IP address to you.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;So here it is: The Internet is made up of millions of machines, each with a unique IP address. Many of these machines are server machines, meaning that they provide services to other machines on the Internet. You have heard of many of these servers: e-mail servers, Web servers, FTP servers, Gopher servers and Telnet servers, to name a few. All of these are provided by server machines.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;Ports&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;Any server machine makes its services available to the Internet using numbered ports, one for each service that is available on the server. For example, if a server machine is running a Web server and an FTP server, the Web server would typically be available on port 80, and the FTP server would be available on port 21. Clients connect to a service at a specific IP address and on a specific port.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;Each of the most well-known services is available at a well-known port number. Here are some common port numbers:&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;• echo 7&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;• daytime 13&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;• qotd 17 (Quote of the Day)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;• ftp 21&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;• telnet 23&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;• smtp 25 (Simple Mail Transfer, meaning e-mail)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;• time 37&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;• nameserver 53&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;• nicname 43 (Who Is)&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;• gopher 70&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;• finger 79&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;• WWW 80&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-family:arial;" &gt;If the server machine accepts connections on a port from the outside world, and if a firewall is not protecting the port, you can connect to the port from anywhere on the Internet and use the service. Note that there is nothing that forces, for example, a Web server to be on port 80. If you were to set up your own machine and load Web server software on it, you could put the Web server on port 918, or any other unused port, if you wanted to. Then, if your machine were known as xxx.yyy.com, someone on the Internet could connect to your server with the URL http://xxx.yyy.com:918. The ":918" explicitly specifies the port number, and would have to be included for someone to reach your server. When no port is specified, the browser simply assumes that the server is using the well-known port 80.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;Protocols&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-size:85%;" &gt;Once a client has connected to a service on a particular port, it accesses the service using a specific protocol. The protocol is the pre-defined way that someone who wants to use a service talks with that service. The "someone" could be a person, but more often it is a computer program like a Web browser. Protocols are often text, and simply describe how the client and server will have their conversation.&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(51, 102, 255);font-size:85%;" &gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Perhaps the simplest protocol is the daytime protocol. If you connect to port 13 on a machine that supports a daytime server, the server will send you its impression of the current date and time and then close the connection. The protocol is, "If you connect to me, I will send you the date and time and then disconnect." Most UNIX machines support this server. If you would like to try it out, you can connect to one with the Telnet application. In UNIX, the session would look like this:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;%telnet web67.ntx.net 13&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Trying 216.27.61.137...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Connected to web67.ntx.net.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Escape character is '^]'.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Sun Oct 25 08:34:06 1998&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Connection closed by foreign host.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;On a Windows machine, you can access this server by typing "telnet web67.ntx.net 13" at the MSDOS prompt.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;In this example, web67.ntx.net is the server's UNIX machine, and 13 is the port number for the daytime service. The Telnet application connects to port 13 (telnet naturally connects to port 23, but you can direct it to connect to any port), then the server sends the date and time and disconnects. Most versions of Telnet allow you to specify a port number, so you can try this using whatever version of Telnet you have available on your machine.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Most protocols are more involved than daytime and are specified in Request for Comment (RFC) documents that are publicly available (see http://sunsite.auc.dk/RFC/ for a nice archive of all RFCs). Every Web server on the Internet conforms to the HTTP protocol, summarized nicely in The Original HTTP as defined in 1991. The most basic form of the protocol understood by an HTTP server involves just one command: GET. If you connect to a server that understands the HTTP protocol and tell it to "GET filename," the server will respond by sending you the contents of the named file and then disconnecting. Here's a typical session:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;%telnet www.howstuffworks.com 80&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Trying 216.27.61.137...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Connected to howstuffworks.com.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Escape character is '^]'.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;GET http://www.howstuffworks.com/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Connection closed by foreign host.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 102, 255);font-size:85%;" &gt;&lt;span style="font-family:arial;"&gt;In the original HTTP protocol, all you would have sent was the actual filename, such as "/" or "/web-server.htm." The protocol was later modified to handle the sending of the complete URL. This has allowed companies that host virtual domains, where many domains live on a single machine, to use one IP address for all of the domains they host. It turns out that hundreds of domains are hosted on 209.116.69.66 -- the HowStuffWorks IP address.&lt;br /&gt;&lt;span style="color: rgb(204, 204, 204);font-size:78%;" &gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Regards,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Janu&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14305292-8190200154181801194?l=janu123.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://janu123.blogspot.com/2008/02/how-web-works.html</link><author>noreply@blogger.com (Janu)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-14305292.post-6453345740635564332</guid><pubDate>Tue, 12 Feb 2008 13:13:00 +0000</pubDate><atom:updated>2008-02-12T18:46:11.067+05:30</atom:updated><title>AIX monitoring commands</title><description>&lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;span style="font-size:12;"&gt;&lt;span style="font-weight: bold;"&gt;1) Displaying top CPU_consuming processes:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ps aux | head -1; ps aux |  sort -rn +2 | head -10&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) Displaying top 10 memory-sonsuming processes:  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ps aux | head -1; ps aux | sort -rn +3 | head&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3) Displaying  process in order of being penalized: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ps -eakl | head -1; ps -eakl | sort  -rn +5&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4) Displaying process in order of priority: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ps -eakl |  sort -n +6 | head&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5) Displaying process in order of nice value  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ps -eakl | sort -n +7&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6) Displaying the process in order of time  &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ps vx | head -1;ps vx | grep -v PID | sort -rn +3 | head -10&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;7)  Displaying the process in order of real memory use &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ps vx | head -1; ps  vx | grep -v PID | sort -rn +6 | head -10&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8) Displaying the process in  order of I/O &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ps vx | head -1; ps vx | grep -v PID | sort -rn +4 | head  -10&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;9) Displaying WLM classes &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ps -a -o pid, user, class, pcpu,  pmem, args&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;10) Determinimg process ID of wait processes: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ps vg |  head -1; ps vg | grep -w wait&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;11) Wait process bound to CPU&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Times New Roman;font-size:100%;"  &gt;&lt;span style="font-size:12;"&gt;ps  -mo THREAD -p &lt;pid&gt;&lt;br /&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/pid&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class="MsoNormal"&gt;&lt;span style=";font-family:Arial;font-size:85%;"  &gt;&lt;span style=";font-family:Arial;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&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/14305292-6453345740635564332?l=janu123.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://janu123.blogspot.com/2008/02/aix-monitoring-commands.html</link><author>noreply@blogger.com (Janu)</author><thr:total>0</thr:total></item></channel></rss>

