<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hawk Host Blog &#187; General</title>
	<atom:link href="http://blog.hawkhost.com/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hawkhost.com</link>
	<description>All things Hawk Host</description>
	<lastBuildDate>Mon, 23 Aug 2010 18:08:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Droid2 &#8211; What can this sucker do?</title>
		<link>http://blog.hawkhost.com/2010/08/23/droid2-what-can-this-sucker-do/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=droid2-what-can-this-sucker-do</link>
		<comments>http://blog.hawkhost.com/2010/08/23/droid2-what-can-this-sucker-do/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 18:08:56 +0000</pubDate>
		<dc:creator>Cody</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[droid]]></category>
		<category><![CDATA[Random]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=870</guid>
		<description><![CDATA[After several instances where my old phone had proven inadequate for my job I finally decided to get a smartphone. I wasn&#8217;t sure what to go with so after careful deliberation I opted for the new Droid 2. Coming from &#8230; <a href="http://blog.hawkhost.com/2010/08/23/droid2-what-can-this-sucker-do/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After several instances where my old phone had proven inadequate for my job I finally decided to get a smartphone. I wasn&#8217;t sure what to go with so after careful deliberation I opted for the new <a title="Droid 2" href="http://www.motorola.com/Consumers/US-EN/Consumer-Product-and-Services/Mobile-Phones/Motorola-DROID-2-US-EN" target="_blank">Droid 2</a>.</p>
<p>Coming from a old regular phone and a old Blackberry I was quite surprised how robust and fast these things are. It was also a nice to see the Android platform finally after hearing so much about it &#8211; it&#8217;s sleek, fast and has an intuitive interface.</p>
<p>.. but I wanted more. Being a self proclaimed geek I wanted to know what can I do with this thing. Inevitably it will be eventually rooted and full blown customizations will make this phone a true delight to own. Until then what could I do with it? Well let&#8217;s see!</p>
<p><span id="more-870"></span></p>
<h3>Chatting</h3>
<p>Unfortunately I&#8217;ve been disappointed with the selection. It seems primarily people choose the official AIM  client or opt for Meebo IM. There is also a fairly promising Trillian application coming along however it&#8217;s still in beta and tends to crash fairly often.</p>
<p>There are two fundamental things that are missing from all of the applications I&#8217;ve tried:</p>
<p>1) No <a href="http://www.cypherpunks.ca/otr/" target="_blank">OTR</a> implementation / support</p>
<p>2) No proxy configuration</p>
<p>Why are these options missing in every client? These seem like no-brainer features &#8211; especially for a device that&#8217;s typically out on foreign networks.  Hopefully one exists that encompasses these features &#8211; if so let me know!</p>
<div id="attachment_871" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/meebo_qr.png"><img class="size-full wp-image-871  " title="Meebo IM" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/meebo_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Meebo IM</p></div>
<div id="attachment_872" class="wp-caption alignnone" style="width: 160px"><img class="size-full wp-image-872 " title="AIM Mobile" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/aim_qr.png" alt="" width="150" height="150" /><p class="wp-caption-text">AIM Mobile</p></div>
<div id="attachment_874" class="wp-caption alignnone" style="width: 160px"><img class="size-full wp-image-874" title="Trillian Android" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/trillian_qr1.png" alt="" width="150" height="150" /><p class="wp-caption-text">Trillian for Android</p></div>
<h3>E-Mail</h3>
<p>I haven&#8217;t looked too hard however one thing I noticed was the lack of <a href="http://en.wikipedia.org/wiki/IMAP_IDLE" target="_blank">IDLE</a> support for the bundled in mail client. It also didn&#8217;t have common functionality such as being able to set the time or interval to fetch e-mails from a remote server. Luckily there seems to be a De facto replacement called K-9 Mail. For all intents and purposes it should replace the default mail client and be used exclusively. It has full IDLE support as well as being able to specify when to download mail. It&#8217;s simple, fast and does its job perfectly.</p>
<div id="attachment_875" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/k-9mail_qr.png"><img class="size-full wp-image-875" title="K-9 Mail" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/k-9mail_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">K-9 Mail</p></div>
<h3>SSH</h3>
<p>One of my primary desires was to have a phone that could offer me a somewhat pleasurable SSH experience if I needed it (ever try to fix a server on a small Blackberry?). One of our customers <a href="http://twitter.com/bryanwp" target="_blank">@bryanwp</a> recommended ConnectBot. After using it for a mere five minutes it became abundantly clear why this was &#8220;the&#8221; SSH client to use. Aside from a simple and clear interface it provided something that is lacking (at least natively) in a lot of SSH applications: <a href="http://www.symantec.com/connect/articles/ssh-port-forwarding" target="_blank">port forwarding</a>. This allows you (amongst other things) to create a way to tunnel network traffic for an application over SSH. Unfortunately a lot of the applications don&#8217;t have any options for proxy settings.</p>
<p>Another cool use for port forwarding is it allows me to connect to my desktop computer via SSH. I&#8217;m behind a router however there is no need for any fancy routing &#8211; using remote forwarding from my desktop allows me to easily setup tunnels that my phone can access. Using this method I&#8217;m able to securely SSH into my desktop, use VNC securely, stream music / download files from home,  use my home network (white list approach on servers, etc) and pretty much anything I could do if I was on LAN.</p>
<div id="attachment_876" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/connectbot_qr.png"><img class="size-full wp-image-876" title="ConnectBot" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/connectbot_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">ConnectBot</p></div>
<h3>Google Voice</h3>
<p>Finally a phone with good Google Voice implementation (duh). The Google Voice support is simple and perfect. It has a simple inbox for your text messages and a few settings. Aside from that it integrating seamlessly with your phone. Outgoing calls you can direct through Google Voice or your primary number. Text messages is the same allowing you to select which service to go through. One cool perk is Google Voice offers free CA based calling while Verizon doesn&#8217;t &#8211; this is ideal for a company such as ours where several employees are on the border and travel fairly often.</p>
<div id="attachment_877" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/googlevoice_qr.png"><img class="size-full wp-image-877" title="Google Voice" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/googlevoice_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Google Voice</p></div>
<h3>Android VNC</h3>
<p>Yes you can even <a href="http://en.wikipedia.org/wiki/VNC" target="_blank">VNC</a> to remote computer from your phone. Using android-vnc-viewer you can connect to any VNC server. It&#8217;s actually a far better experience than I imagined possible and already have had a couple of uses for quick / small tasks that I needed to do while not at home.</p>
<div id="attachment_878" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/vnc_qr.png"><img class="size-full wp-image-878" title="Android VNC Client" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/vnc_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">android-vnc-viewer</p></div>
<p>I use this in conjunction with ConnectBot and SSH port forwarding to allow me to use a secure connection to my desktop while on foreign networks &#8211; I recommend you do the same.</p>
<h3>Launcher Pro</h3>
<p>LauncherPro is a home screen replacement for your Droid &#8211; think of it as a windows manager. I haven&#8217;t tried too many others and the ones I have not nearly long enough to judge how good they are (performance, features, etc) however I&#8217;ve been using LP for a few days and feel I&#8217;ve come to appreciate some of its features:</p>
<ul>
<li>Multiple Docks. &#8211; This allows you to have a scrollable dock in addition to desktops. This has proven to be my primary means of launching applications as it doesn&#8217;t give me enough space to fill it with junk but just enough for repeated use applications.</li>
<li>Dock Gestures &#8211; This allows you to assign an action to each of the icons in your doc that is activated by a swipe. These are extremely useful. If I swipe my Dialer icon it will open a Add Contact page. If I swipe my Messages icon it will start a new Google Voice text message and so forth.</li>
<li>Widgets &#8211; They look amazing and have amazing reviews. However until I fully explore my home screen replacements I&#8217;m not buying the upgrade to the full version until I&#8217;m exhaust the alternatives. They however do seem to be worth noting.</li>
<li>Launcher Pro Shortcuts &#8211; These are shortcuts on crack. They allow full custom control over your shortcuts that allow some distinct advantages over normal shortcuts. Succinctly put it allows you to tap into the <a href="http://developer.android.com/reference/android/content/Intent.html" target="_blank">Intent</a> class of the Android platform to allow you to communicate with applications directly (sending data to them, etc).</li>
</ul>
<div id="attachment_879" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/launcherpro_qr.png"><img class="size-full wp-image-879" title="Launcher Pro" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/launcherpro_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Launcher Pro</p></div>
<h3>RunKeeper</h3>
<p>There are several applications similar to this however RunKeeper has given me a flawless experience from the beginning so I see no reason to try the others.</p>
<p>RunKeeper allows you to track your runs / jogs / biking via GPS. It shows you some useful statistics such as elevation climb, your pace during the route, mile markers and others. It will also log your route on a Google Map to allow you to easily see what path you took.</p>
<p>There is also an option to sync your activities to the <a href="http://runkeeper.com/" target="_blank">RunKeeper.com</a> website which allows you to break down your activity even further.</p>
<div id="attachment_880" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/runkeeper_qr.png"><img class="size-full wp-image-880" title="RunKeeper" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/runkeeper_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">RunKeeper</p></div>
<h3>Google Gesture Search</h3>
<p>It quickly becomes evident that you may need additional means of searching for things on your phone. I find Google Gesture Search to be a quick way to accurately search your phone in the quickest manner. Simply put you start writing letters out using your finger and it lists matches accordingly.</p>
<p>It also has an option to be triggered by a <a href="http://www.youtube.com/watch?v=gD3ZYKIqj7A" target="_blank">&#8220;Double Flip&#8221;</a> however I find this to be unnaturaland a pain to do. I instead place it in one of my docks.</p>
<div id="attachment_881" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/googlegesture_qr.png"><img class="size-full wp-image-881" title="Google Gesture Search" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/googlegesture_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Google Gesture Search</p></div>
<h3>Barcode Scanner</h3>
<p>This is a suprisingly useful application. It allows you to scan different types of barcodes and reads the data. It then gives you options to use that data in some way (open a browser, market, contact, etc).</p>
<p>It also seems to be a popular way to distribute application links (as seen through this post). You however can use it to store contact information as well:</p>
<div id="attachment_882" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/cody-qr.png"><img class="size-full wp-image-882 " title="Cody QR" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/cody-qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Cody Robertson</p></div>
<p style="text-align: left;">
<div id="attachment_883" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/barcode_qr.png"><img class="size-full wp-image-883" title="Barcode Scanner" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/barcode_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Barcode Scanner</p></div>
<h3>Astrid Tasks</h3>
<p>Out of all of the to-do list applications this one is my favorite. It&#8217;s fast and simple but offers small features th at set it apart from the others. One neat feature is if you click on a task you can start a timer, tag support and integration with <a href="http://www.rememberthemilk.com/" target="_blank">Remember The Milk</a> for remote syncing / integration.</p>
<div id="attachment_884" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/astrid_qr.png"><img class="size-full wp-image-884" title="Astrid Tasks" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/astrid_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Astrid Tasks</p></div>
<h3>PayPal</h3>
<p>This is a simple application form PayPal to .. well do PayPal based things. It has a simple mobile friendly interface and allows you to perform basic operations such as sending money, withdrawing money, and a few other things.</p>
<p>You can also setup a &#8220;mobile PIN&#8221; to allow for fast logins via your phone &#8211; this is extremely useful for people who have very long passwords.</p>
<div id="attachment_885" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/paypal_qr.png"><img class="size-full wp-image-885" title="PayPal Mobile" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/paypal_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">PayPal Mobile</p></div>
<h3>Beautiful Widgets</h3>
<p>This is a paid application however I find it wonderful as it adds a handful of high quality widgets for your phone. The show stopper being the <a href="http://levelupstudio.com/widgets/weather" target="_blank">weather widget</a> which is very aesthetically pleasing however the others equally as useful allowing for toggling of ringer modes, WiFi, Bluetooth, GPS and a few others.</p>
<div id="attachment_886" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/bwidgets_qr.png"><img class="size-full wp-image-886" title="Beautiful Widgets" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/bwidgets_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Beautiful Widgets</p></div>
<h3>Twonky Server</h3>
<p>This application is mind numbingly simple. You start it and it scans your phone for music, pictures and videos. It then can starts a server and shares them using <a href="http://en.wikipedia.org/wiki/Dlna" target="_blank">DLNA</a>. This allows you to easily share content from your phone to most media centric devices such as the XBOX or PS3.</p>
<div id="attachment_887" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/twonky_qr.png"><img class="size-full wp-image-887" title="Twonky Server" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/twonky_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">Twonky Server</p></div>
<h3>FTPserver</h3>
<p>This is a very simple application that allows you to start a FTP server on your phone. This allows you to easily transfer files between your computer and phone using simply a FTP client. It supports basic authentication and simple permission based rules (allow connections from what network(s)).</p>
<div id="attachment_888" class="wp-caption alignnone" style="width: 160px"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/ftp_qr.png"><img class="size-full wp-image-888" title="FTPServer" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/ftp_qr.png" alt="" width="150" height="150" /></a><p class="wp-caption-text">FTPServer</p></div>
<p>That wraps up some of my favorite uses / applications for the Android platform. If you have any suggestions please don&#8217;t hesitate to make a comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/08/23/droid2-what-can-this-sucker-do/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hawk Host August 2010 News</title>
		<link>http://blog.hawkhost.com/2010/08/07/hawk-host-august-2010-news/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=hawk-host-august-2010-news</link>
		<comments>http://blog.hawkhost.com/2010/08/07/hawk-host-august-2010-news/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 01:41:45 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=856</guid>
		<description><![CDATA[I cannot believe that it&#8217;s already August it felt like just yesterday I was talking about how 2010 was finally here.  It&#8217;s about a good time to post about all the interesting things that have happened in July and what &#8230; <a href="http://blog.hawkhost.com/2010/08/07/hawk-host-august-2010-news/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I cannot believe that it&#8217;s already August it felt like just yesterday I was talking about how 2010 was finally here.  It&#8217;s about a good time to post about all the interesting things that have happened in July and what is coming in August.<span id="more-856"></span></p>
<p><strong>New Servers</strong></p>
<p>We&#8217;re constantly growing which means we&#8217;re always adding new servers and July and early August we added a bunch of machines compared to what we used to add a year ago.  We added Mirage on July 5th which is our first reseller only server and it&#8217;s based in Dallas.  We then added yet another reseller server this time Tornado which is in Seattle.  Then finally we added Lightning to increase our shared only fleet in Dallas.  We&#8217;ve been working towards having shared and reseller separated rather than being creative like we had in the past.  Due to our increasing size it is now possible to do this as we fill our high end servers much faster than we used to.  Along with these new servers to put customers on we&#8217;ve added a second development / test server.  This will allow us to continue to test new features and not slow down development of other features.  We now have a total of two servers for this function with one being for our VPS panel and another being for cPanel testing.  Of course we can change their purposes very fast thanks to Softlayer so it&#8217;s quick for us to reload a system to test something else.</p>
<p><strong>New cPanel Theme</strong></p>
<p>We&#8217;ve been talking about doing this for quite a while but it&#8217;s always been something that is along the lines of we&#8217;ll do it eventually.  Well that&#8217;s finally over we finally got around to working on it.  Right now it&#8217;s more cosmetic changes which you can see right here:<strong><a href="http://blog.hawkhost.com/wp-content/uploads/2010/08/new_theme.png"><img class="aligncenter size-medium wp-image-861" title="New Theme" src="http://blog.hawkhost.com/wp-content/uploads/2010/08/new_theme-300x129.png" alt="" width="300" height="129" /></a></strong></p>
<p>We have other big plans for it though as this was just the start.  Right now it&#8217;s a nice fancy new logo up top.  Along with that a bunch of useful links to parts of our web site.  This is by no means the final version of the design it&#8217;s just a start.  Along with that more features will be coming to our theme.  Here&#8217;s just some sample idea&#8217;s we&#8217;ve been throwing around: quick mod_security enable / disable, easy way to change php values (register_globals, upload limits etc.), easily switch to using google apps for email.  So look out for new features showing up in your cPanel over the next few months.</p>
<p>As for what machines this theme is on well right now it&#8217;s on Mustang, Spitfire, Voodoo and Lightning and any other *.hawkhost.com servers we add.  The theme portion will never show up on any of our legacy servers unfortunately.  There are complications that are only resolved on our shared hosting only servers.  What will show up however is any plugins we add to our cPanel.  So if we add the ability to turn on/off mod_security it will show up on all our servers.</p>
<p><strong>CPU Usage Abuse Solution</strong></p>
<p>As we&#8217;ve grown one thing that has grown with us is the CPU abuse we deal with.  Unfortunately as we become more popular more people who think our web hosting can be used as their own personal dedicated server show up.  As it stands we currently act on them as we see them attempting to warn users when possible to get them to reduce usage.  In really bad cases we just disable their account on the spot and email them.  Now the problem with this system is a large majority either do not respond or when they do they don&#8217;t ever resolve the problem and they get their account disabled repeatedly.  Also of course depending on their usage they may be causing slow downs of our servers.  Like any web host in our price range we do not have the time to be optimizing user web sites.  In fact I doubt any shared web host would be willing to go through and attempt to optimize user made scripts or figure out which of the 50 plugins installed in wordpress is causing the problem.</p>
<p>On Frog Host we previously had our own system to report CPU usage to the users.  This was great or so we thought we had measured CPU and MySQL usage in units and reported it to the others.  Unfortunately though no users are actually using this data to possibly reduce their usage.  So we finally realized we either were going to need to make our own system more pro active or find software that would.  If we went our own route it would have been a system where a users site shows suspended for a period of time after using X amount of CPU for x amount of minutes.  This just did not seem ideal as we&#8217;ve read about providers doing this and all the complaints they received as a result.   So obviously we went looking for a much better solution and we found one.</p>
<p><a href="http://www.cloudlinux.com/">Cloud Linux</a> ended up being a solution people had started talking about.  We threw it up on our test server checked it out and it was really impressive.  It is now running on Frog Host and it&#8217;s been extremely impressive.  It has helped us stop users from abusing CPU while not giving them ugly suspended messages.  The idea is if you&#8217;re using a lot of CPU rather than slowing down the entire server you slow down just your site.  This is an excellent solution to CPU abuse we think and greatly reduces the amount of time we currently have to spend working with users on them using to much CPU.  It&#8217;s probably a bit away from showing up on Hawk Host servers but it is in the running as our solution for both Hawk Host and Frog Host considering how great it&#8217;s doing on Frog Host thus far.</p>
<p>If it does end up being our choice we will of course add useful features for users to help see what their usage is in real time.  So if your web site is slow you&#8217;ll be able to login to your cPanel and see how much CPU and memory you&#8217;re using.  You&#8217;ll also be able to hopefully bring up the process list and see which processes you have that are using all your resources.</p>
<p><strong>New VPS Panel</strong></p>
<p>It&#8217;s not vapor ware it&#8217;s still being worked on unfortunately never gets the priority it deserves.  We&#8217;re not a big VPS company we don&#8217;t have thousands of nodes so it&#8217;s a little tougher to justify spending a lot of time on it.  That being said I think we&#8217;re getting close with a lot of what needed to be done is done.  We&#8217;re working on adding some useful features and making it more user friendly.  So maybe later some posts will finally show up with some screen shots who knows.</p>
<p><strong>Misc Things</strong></p>
<p>Well our forum has a new logo that&#8217;s always good to have.  I personally got a new car and it&#8217;s not Hawk Host themed but instead red.  We added some banners for Hawk Host which can be found in our <a href="http://forums.hawkhost.com/topic/944-banners/">forums</a>.  We&#8217;ve switched the way we do stats processing on servers we now use piped logging.  This should help with having less frequent restarts of the web server even though they&#8217;re graceful you&#8217;d rather not have them at all!  We&#8217;re looking forward to the new version of the support software we use Kayako SupportSuite which is now called Kayako Fusion.  If it does what it promises it should improve how we handle support slightly.  Softlayer our provider was sold to the GI partners but it should not affect us in anyway but it is worth noting.  Then finally we&#8217;ve grown exponentially as always which I&#8217;ll talk about in September as our corporate year end is August 31st.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/08/07/hawk-host-august-2010-news/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>TMUX – The Terminal Multiplexer (Part 2)</title>
		<link>http://blog.hawkhost.com/2010/07/02/tmux-%e2%80%93-the-terminal-multiplexer-part-2/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=tmux-%25e2%2580%2593-the-terminal-multiplexer-part-2</link>
		<comments>http://blog.hawkhost.com/2010/07/02/tmux-%e2%80%93-the-terminal-multiplexer-part-2/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 20:03:05 +0000</pubDate>
		<dc:creator>Cody</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[tmux]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=798</guid>
		<description><![CDATA[In part 1 I went over the basics of tmux and how to utilize its basic features. In this portion I&#8217;m going to dive a bit more into customizing tmux to make it easier and prettier to work with. I&#8217;ll &#8230; <a href="http://blog.hawkhost.com/2010/07/02/tmux-%e2%80%93-the-terminal-multiplexer-part-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In <a title="The Terminal Multiplexer Part 1" href="http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multiplexer/" target="_blank">part 1</a> I went over the basics of <em>tmux</em> and how to utilize its basic features. In this portion I&#8217;m going to dive a bit more into customizing <em>tmux</em> to make it easier and prettier to work with. I&#8217;ll also give some examples on how to utilize the client/server model.</p>
<p><span id="more-798"></span></p>
<p>Since this part is less of a tutorial and more of a tips / reference I decided a table of contents based layout would be a bit easier to use:</p>
<p><strong>Note: If you have any tips, tricks or pre-made configurations you want to contribute to this post please do so in the comments and I&#8217;ll append them to this post.</strong></p>
<p><strong>Note**: You can type the commands into a live tmux session or place them in ~/.tmux.conf file which is automatically loaded when tmux is started.</strong></p>
<p><strong>Modify tmux bindings</strong></p>
<ul>
<li><a href="#rebinding-action-key">Rebinding the action key (Ctrl-b)</a></li>
<li><a href="#bind-last-window">Bind a key to switch between last active window</a></li>
<li><a href="#rebinding-pane-bindings">Rebinding pane splitting bindings</a></li>
</ul>
<p><strong>Modify tmux looks &amp; style</strong></p>
<ul>
<li><a href="#modifying-tab-color">Modifying tab color &amp; looks</a></li>
<li><a href="#adding-information">Adding information to your session</a></li>
</ul>
<p><strong>Misc tips &amp; tricks</strong></p>
<ul>
<li><a href="#tmux-shell-scripting">Setting up your tmux environment via shell scripting</a></li>
<li><span style="color: #000000;"><a href="#tmux-window-activity">Notify you when a window has activity</a></span></li>
<li><span style="color: #000000;"><a href="#tmux-window-rename">Have tmux rename window automatically on command run</a></span></li>
</ul>
<h3>Modify tmux bindings</h3>
<p>By default <em>tmux</em> has a decent default layout for hotkeys however there are a few keys that either made my fingers contort into ways they shouldn&#8217;t have or keys I simply always forgot. Luckily <em>tmux</em> offers a very simple syntax to rebind any key.</p>
<h4 id="rebinding-action-key" style="font-size: 18px;">Rebinding the Action Key</h4>
<p>Here is how you can rebind the <strong><em>Ctrl-b</em> </strong>prefix to be something a bit easier to type. I personally use <strong><em>Ctrl-a</em></strong> similar to screen:</p>
<blockquote><p>set-option -g prefix C-a</p></blockquote>
<p><strong><em>Note: The &#8220;-g&#8221; switch stands for global so the binding will affect every window. Alternatively the set-option command accepts arguments to specify the session and target of that particular binding if you like.</em></strong></p>
<p>Now every subsequent command will be prefixed with <strong><em>Ctrl-a</em><span style="font-weight: normal;"> instead of </span><em>Ctrl-b</em><span style="font-weight: normal;">.</span></strong></p>
<h4 id="bind-last-window" style="font-size: 18px;">Binding a key for &#8220;last-window&#8221;</h4>
<p>One of my favorite screen hotkeys is the last window hotkey which allows you to quickly switch between the current window and last window that was active. By default tmux doesn&#8217;t have a binding for this however it can easily be achieved by using the following:</p>
<blockquote><p>bind-key C-a last-window</p></blockquote>
<p>What this does is binds <strong><em>Ctrl-a</em></strong> to switch between the last active window. To use this binding you would hit <strong><em>Ctrl-a</em></strong> twice (since the prefix is set to <em><strong>Ctrl-a</strong></em> and the binding <em><strong>Ctrl-a</strong></em>).</p>
<h4 id="rebinding-pane-bindings" style="font-size: 18px;">Rebinding the pane splitting bindings</h4>
<p>One of the most powerful features of tmux is the ability to natively split your windows into several panes. Unfortunately the default bindings to achieve this are simply unintuitive. As a result I&#8217;ve rebound the splitting commands to something I could remember:</p>
<blockquote><p>unbind % # Remove default binding since we&#8217;re replacing<br />
bind | split-window -h<br />
bind &#8211; split-window -v</p></blockquote>
<p>At first this may look odd but for me it&#8217;s easier to remember that <em><strong>&#8220;|&#8221;</strong></em> splits the screen vertically while <em><strong>&#8220;-&#8221;</strong></em> splits the screen horizontally.  To achieve the below window structure you would type the following sequence:</p>
<blockquote><p>Ctrl-a |<br />
Ctrl-a -<br />
Ctrl-a -</p></blockquote>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/07/splitting-panes.png"><img class="aligncenter size-medium wp-image-814" title="TMUX - Splitting Panes" src="http://blog.hawkhost.com/wp-content/uploads/2010/07/splitting-panes-300x182.png" alt="" width="300" height="182" /></a></p>
<p>The first <em><strong>Ctrl-a |</strong></em>command splits the current window in half. The active window is the pane on the right so the subsequent <strong><em>Ctrl-a -</em></strong> splits that window into two vertically. Hitting <em><strong>Ctrl-a -</strong></em> once more now splits that active window into two more by splitting it vertically.</p>
<p><strong><em>Note: Depending on the active layout you&#8217;re using the behavior of how the windows split may be different.</em></strong></p>
<h3>Modify tmux look &amp; style</h3>
<p>The default colors and style of tmux isn&#8217;t awful however it&#8217;s somewhat bland for my liking. I personally only have modified tmux slightly however it allows you to do quite a bit. In this section I&#8217;ll go over some of tmux&#8217;s style features.</p>
<h4 id="modifying-tab-color" style="font-size: 18px;">Modifying tab color &amp; looks</h4>
<p>By default the tab colors are pretty bland and it makes it difficult to distinguish the active window from the other windows. Here is the default tmux tabs vs. the modified ones (snippet below):</p>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-tabs.png"><img class="aligncenter size-full wp-image-822" title="tmux-tabs" src="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-tabs.png" alt="" width="221" height="34" /></a><a href="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-tabs2.png"><img class="aligncenter size-full wp-image-823" title="tmux-tabs2" src="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-tabs2.png" alt="" width="275" height="34" /></a>As you can see the latter version is much more clear and uses some variable expansions tmux provides (hostname, etc). You can achieve this output with the following:</p>
<blockquote><p># Set status bar<br />
set -g status-bg black<br />
set -g status-fg white<br />
set -g status-left &#8216;#[fg=green]#H&#8217;</p></blockquote>
<p>The first two commands set the background to black and the text to white. The third command is where the magic happens: the <strong>status-left </strong>command tells tmux to display the following text to the left of the terminal. The <strong><em>[fg=green]#H</em></strong> portion tells tmux to display the hostname of localhost and make it green. The <em><strong>#H</strong></em> portion is part of <em>tmux</em> variable expansion &#8211; please refer to the <a href="http://cheasy.de/tmux.pdf" target="_blank">man pages</a> for more information on other ones you can use.</p>
<p>That alone doesn&#8217;t account for highlighting the active window. If you want to do that use the following snippet:</p>
<blockquote><p># Highlight active window<br />
set-window-option -g window-status-current-bg red</p></blockquote>
<p>The <strong>set-window-option -g window-status-current-bg red </strong>command tells tmux to change the background of the current active window to red. The <strong>set-window-option </strong>command has several other options you can pass to it to achieve similar affects.</p>
<h4 id="adding-information" style="font-size: 18px;">Adding information to your session</h4>
<p>Sometimes it might be useful to add some information from your local machine to the <em>tmux</em> screen. Earlier we played with the <strong>status-left</strong> command which sets the left portion of the status bar. Let&#8217;s use the <strong>status-right</strong> command to add some information to the right side:</p>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-right-status.png"><img class="aligncenter size-full wp-image-826" title="tmux-right-status" src="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-right-status.png" alt="" width="661" height="33" /></a></p>
<p>As you can see I&#8217;ve added the amount of users logged in and the current load average for my computer. This was achieved with the following snippet:</p>
<blockquote><p>set -g status-right &#8216;#[fg=yellow]#(uptime | cut -d &#8220;,&#8221; -f 2-)&#8217;</p></blockquote>
<p>Similar to before the <strong>#[fg=yellow]</strong> portion tells tmux to make the font yellow. The <strong>#(uptime | cut -d &#8220;,&#8221; -f 2-)</strong> portion tells tmux to run that cmd and output it on the right of the status bar.</p>
<p><strong>Note: If you&#8217;re not familiar with shell scripting this command is very simple. It runs the <em>uptime</em> command and then passes it to the <em>cut</em> command which splits it at the commas (,). The <em>-f 2-</em> portion says to print out everything from the second comma onward.</strong></p>
<p><strong>Note**: By default the status bar is redrawn every 15 seconds however you can modify this by setting the <em>status-interval</em> command.</strong></p>
<h3>Misc tips &amp; tricks</h3>
<h4 id="tmux-shell-scripting" style="font-size: 18px;">Using shell scripting to setup your tmux enviroment</h4>
<p>Tmux allows you to easily run commands for your different sessions through the command line without having to ever login to the session. This also allows us to make a simple bootstrap script which will setup your tmux environment and log you into it. Here is an example script I personally use:</p>
<pre class="brush: bash;">
#!/bin/sh
tmux new-session -d -s hawkhost

tmux new-window -t hawkhost:1 -n 'Server1' 'ssh root@10.x.x.x'
tmux new-window -t hawkhost:2 -n 'Server2' 'ssh root@10.x.x.x'
tmux new-window -t hawkhost:3 -n 'Server3' 'ssh root@10.x.x.x'
tmux new-window -t hawkhost:4 -n 'Server4' 'ssh root@10.x.x.x'
tmux new-window -t hawkhost:5 -n 'Server5' 'ssh root@10.x.x.x'

tmux select-window -t hawkhost:1
tmux -2 attach-session -t hawkhost
</pre>
<p>The command <strong>new-session</strong> <strong>-d -s hawkhost </strong>creates a new <em>tmux</em> session, detaches it (so it doesn&#8217;t open in your current terminal) and names it <em>hawkhost</em> in this case.</p>
<p>The following set of <strong>new-window </strong>commands create five new windows and executes the command at the end. The arguments are broken down as follows: <strong>-t hawkhost :1 </strong>tells tmux to &#8220;target&#8221; the session <em><strong>hawkhost</strong></em> and the window with the id of <em><strong>1</strong><span style="font-style: normal;">. The <strong>-n &#8216;Server1&#8242; &#8216;ssh root@10.x.x.x&#8217;</strong> portion tells tmux to name the window </span><strong>Server1</strong><span style="font-style: normal;"> and execute the <strong><em>ssh root@10.x.x.x</em></strong> command in it.</span></em></p>
<p><em><span style="font-style: normal;">The last two commands are pretty straight forward. The <strong>select-window -t hawkhost:1</strong> command tells tmux that you want the active window the session to be </span><span style="font-style: normal;"><strong>hawkhost</strong></span><span style="font-style: normal;"> and window </span><span style="font-style: normal;"><strong>1</strong></span><span style="font-style: normal;">. The <strong>-2 attach-session -t hawkhost</strong> tells tmux you want to attach the terminal with 256 colors and attach to the session </span><span style="font-style: normal;"><strong>hawkhost</strong></span><span style="font-style: normal;">.</span></em></p>
<p><strong>Note: This is the command that brings the tmux session to the foreground. If you recall earlier when the script created the session we specified the </strong><em><strong>-d</strong></em><strong> switch which prevents it from loading in your terminal.</strong></p>
<h4 id="tmux-window-activity" style="font-size: 18px;">Notify you when a window has activity</h4>
<p>This quick snippet will have tmux notify you in the status area when a window has activity:</p>
<blockquote><p># Set window notifications<br />
setw -g monitor-activity on<br />
set -g visual-activity on</p></blockquote>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-window-activity.png"><img class="aligncenter size-full wp-image-839" title="tmux-window-activity" src="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-window-activity.png" alt="" width="410" height="59" /></a><a href="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-window-activity2.png"><img class="aligncenter size-full wp-image-840" title="tmux-window-activity2" src="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-window-activity2.png" alt="" width="343" height="37" /></a>As you can see in the first image it lets me know that there was activity in window 0 (in this case <strong><em>sleep 10 &amp;&amp; echo &#8220;narwhal&#8221;</em></strong> and switching the window).</p>
<h4 id="tmux-window-rename" style="font-size: 18px;">Automatic window rename</h4>
<p>You can have <em>tmux</em> rename the window to the command that is currently running. This is useful when you load up something such as <em>irssi</em> and the window is labeled accordingly:</p>
<blockquote><p># Automatically set window title<br />
setw -g automatic-rename</p></blockquote>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-window-rename.png"><img class="aligncenter size-full wp-image-846" title="tmux-window-rename" src="http://blog.hawkhost.com/wp-content/uploads/2010/07/tmux-window-rename.png" alt="" width="301" height="43" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/07/02/tmux-%e2%80%93-the-terminal-multiplexer-part-2/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>TMUX &#8211; The Terminal Multiplexer (Part 1)</title>
		<link>http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multiplexer/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=tmux-the-terminal-multiplexer</link>
		<comments>http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multiplexer/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 15:31:05 +0000</pubDate>
		<dc:creator>Cody</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[tmux]]></category>
		<category><![CDATA[tmux tutorial]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=587</guid>
		<description><![CDATA[tmux is similar to screen as it lets you run numerous TTY&#8217;s in the same terminal window. It supports some very cool and intuitive features natively as well as a much more readable configuration syntax (ever looked at a .screenrc &#8230; <a href="http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multiplexer/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/2.png"></a>tmux</em> is similar to <em>screen</em> as it lets you run numerous TTY&#8217;s in the same terminal window. It supports some very cool and intuitive features natively as well as a much more readable configuration syntax (ever looked at a .screenrc file?).</p>
<p><span id="more-587"></span></p>
<h3>Why TMUX over Screen?</h3>
<p>Well according to the FAQ for <em>tmux</em> it has the following advantages over screen:</p>
<ul>
<li>A clearly defined cilent/server model (windows are their own clients which allows flexibility on how you handle windows. You can attach and detach different windows in different sessions without any issues)</li>
<li>Consistent, well-documented command interface. (You can use the same commands interactively as in the .tmux.conf file, more on that later)</li>
<li>Easily scriptable</li>
<li>Multiple paste buffers</li>
<li>Vi &amp; Emacs keybindings</li>
<li>A more usable status line syntax (which also allows you to embed the output of a shell command, handy indeed.</li>
</ul>
<h3>Default keybindings &amp; Functionality</h3>
<p>The default keybindings for tmux are actually pretty intuitive, though if you&#8217;re used to screen you&#8217;ll likely get a little peeved with the default action binding of <em>C-b</em>, though this is easily changed to mimic screens behavior:</p>
<p><strong>*NOTE* </strong>If you&#8217;re like me the <em>Ctrl-b</em> binding isn&#8217;t horribly intuitive especially if you&#8217;re used to <em>screen</em>. You can rebind this by putting the following in <strong><em>~/.tmux.conf</em><span style="font-weight: normal;">:</span></strong></p>
<blockquote><p><strong><span style="font-weight: normal;">set -g prefix Ctrl-a</span></strong></p></blockquote>
<ul>
<li><strong><em>Ctrl-b c</em></strong> Create new window</li>
<li><strong><em>Ctrl-b d</em></strong> Detach current client</li>
<li><em><strong>Ctrl-b l</strong></em> Move to previously selected window</li>
<li><em><strong>Ctrl-b n</strong></em> Move to the next window</li>
<li><em><strong>Ctrl-b p</strong></em> Move to the previous window</li>
<li><em><strong>Ctrl-b &amp;</strong></em> Kill the current window</li>
<li><em><strong>Ctrl-b ,</strong></em> Rename the current window</li>
<li><em><strong>Ctrl-b %</strong></em> Split the current window into two panes</li>
<li><em><strong>Ctrl-b q</strong></em> Show pane numbers (used to switch between panes)</li>
<li><em><strong>Ctrl-b o</strong></em> Switch to the next pane</li>
<li><em><strong>Ctrl-b ?</strong></em> List all keybindings</li>
</ul>
<p>Now these are pretty self explanatory &#8211; the real magic (for me) of <em>tmux</em> is the ease of modifying the default behavior to do what <em>you</em> want, but first things first: let&#8217;s explore the default behavior of <em>tmux.</em></p>
<h3>Basic Window Handling</h3>
<p>Start up tmux with the tmux command and you should be greeted with a simplistic terminal window that resembles screen &#8211; the only difference is it has a default status bar which is nice (easily added to screen as well).</p>
<p style="text-align: center;"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/1.png"><img class="size-medium wp-image-753 aligncenter" title="TMUX" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/1-300x219.png" alt="Terminal Multiplexer" width="300" height="219" /></a></p>
<p>Now let&#8217;s create a couple of windows and go through them (we&#8217;ll be using the default bindings). Hit <em><strong>Ctrl-b c</strong></em> a few times to create a few windows, you should notice that there are more tabs in the status bar.</p>
<p>Now if you&#8217;re like me you like to have descriptive names of which each window is for, so let&#8217;s rename them by hitting <em><strong>Ctrl-b ,</strong></em>. It should prompt you to rename the current window &#8211; type anything you want and hit enter. Now the current window is renamed to what you specified. Now going forward I&#8217;m going to have two windows open respectively named &#8220;window1&#8243; and &#8220;window2&#8243;.</p>
<p>Once you rename your windows lets switch back and forth. We have several different ways of switching windows, so I&#8217;ll go over the ones I personally use:</p>
<ul>
<li><em><strong>Ctrl-b n</strong></em> (Move to the next window)</li>
<li><em><strong>Ctrl-b p</strong></em> (Move to the previous window)</li>
<li><em><strong>Ctrl-b l</strong></em> (Move to the previously selected window)</li>
<li><em><strong>Ctrl-b w</strong></em> (List all windows / window numbers)</li>
<li><em><strong>Ctrl-b &lt;window number&gt;</strong></em> (Move to the specified window number, the default bindings are from 0 &#8211; 9)</li>
</ul>
<p>Now these ones fairly self explanatory however they don&#8217;t really cater to a lot of different windows. What if you have 10+ windows open? It becomes quite tedious to find the window you want &#8211; but don&#8217;t fret! Tmux has a <em>find-window</em> option &amp; keybinding. Type <em><strong>Ctrl-b f</strong></em> and type in the window name you want (it actually searches for the window so you can type in only part of the name of the window you&#8217;re looking for).</p>
<p>You can also get a list of the windows in the current session by executing the <em>list-windows</em> command. To execute commands interactively you type <em><strong>Ctrl-b :</strong></em> which will bring up a text prompt. From there you can execute any command <em>tmux</em> supports interactively (tab completion is supported).</p>
<p style="text-align: center;"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/2.png"><img class="aligncenter size-medium wp-image-761" title="TMUX - Interactive Prompt" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/2-300x218.png" alt="Terminal Multiplexer - Interactive Prompt" width="300" height="218" /></a><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/3.png"><img class="aligncenter size-medium wp-image-759" title="TMUX - List Windows" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/3-300x218.png" alt="Terminal Multiplexer - List Windows" width="300" height="218" /></a></p>
<h3>Basic Pane Handling</h3>
<p>One of the most powerful features tmux offers is the ability to split up your current window into &#8220;panes&#8221;. Anyone whose familiar with tiling windows managers will feel quite at home. It&#8217;s a bit difficult to explain this in words so a simple screenshot will suffice:</p>
<p><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/4.png"><img class="aligncenter size-medium wp-image-765" title="TMUX - Split Windows" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/4-300x219.png" alt="Terminal Multiplexer - Split Windows" width="300" height="219" /></a></p>
<p>Now here are some basic key bindings and commands to split the terminal window (vertically and horizontally) and to switch between them</p>
<ul>
<li><em><strong>Ctrl-b %</strong></em> (Split the window vertically)</li>
<li><em><strong>Ctrl-b : &#8220;split-window&#8221;</strong></em> (Split window horizontally)</li>
<li><em><strong>Ctrl-b o</strong></em> (Goto next pane)</li>
<li><em><strong>Ctrl-b q</strong></em> (Show pane numbers, when the numbers show up type the key to goto that pane)</li>
<li><em><strong>Ctrl-b {</strong></em> (Move the current pane left)</li>
<li><em><strong>Ctrl-b }</strong></em> (Move the current pane right)</li>
</ul>
<p>Now some obviously the default bindings don&#8217;t encompass some of features, such as splitting horizontally. I personally rebind the keys so &#8220;|&#8221; splits the current window vertically, and &#8220;-&#8221; splits it horizontally. Not the easiest things to type, though easy to remember.</p>
<p>You can achieve this by putting the following in <strong><em>~/.tmux.conf </em><span style="font-weight: normal;">or by typing it in the interactive prompt (</span><em>Ctrl-b :</em><span style="font-weight: normal;">). Keep in mind if you do the latter it will only be in effect for that session:</span></strong></p>
<blockquote><p><strong><span style="font-weight: normal;">unbind %<br />
bind | split-window -h<br />
bind &#8211; split-window -v </span></strong><strong><span style="font-weight: normal;"> </span></strong></p></blockquote>
<h3>Advanced Window Handling</h3>
<p>Now that we went over the basics lets dive a little deeper into some &#8220;advanced&#8221; features of <em>tmux</em>. This includes moving windows around, linking windows together, switching windows from different sessions and much more. By default <em>tmux</em> doesn&#8217;t have key bindings for these features, so we&#8217;ll be entering them in the interactive dialog (accessed by typing <em><strong>Ctrl-b :</strong></em>) &#8211; keep in mind <em>tmux</em> is very scriptable and you can easily create your own key bindings for all of these.</p>
<h3>Moving Windows</h3>
<p>Now if you want to move a window you can use the <strong><em>move-window</em></strong> command. The command to do this:</p>
<blockquote>
<div id="_mcePaste">move-window [ −d] [ −s src-window] [ −t dst-window]</div>
<div>swap-window [ -d] [ -s src-window] [ -t dst-window]</div>
</blockquote>
<p>Similar to the above command except both windows have to exist &#8211; if they both do the window with the ID source and destination windows will be swapped.</p>
<h3>Advanced Pane Handling</h3>
<p>When you split up a window into multiple smaller windows they&#8217;re referred to as panes. Tmux also offers &#8220;layouts&#8221; for the panes, or the default positioning and behavior when you create a new window. You can switch through the panes by using the key binding <em><strong>Ctrl-b &lt;space&gt;</strong></em> which will toggle through the different layouts. Each one has different behaviors such as <em><strong>main-vertical</strong></em> which means the current active pane will take up more space in the current window, or <strong><em>even-vertical</em></strong> which will split the panes equally. Since this is difficult to describe in text I believe a few screen shots are in order:</p>
<p style="text-align: center;"><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/main-vertical.png"><img class="aligncenter size-medium wp-image-776" title="main-vertical" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/main-vertical-300x219.png" alt="" width="300" height="219" /></a><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/even-horizontal.png"><img class="aligncenter size-medium wp-image-774" title="even-horizontal" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/even-horizontal-300x218.png" alt="" width="300" height="218" /></a><a href="http://blog.hawkhost.com/wp-content/uploads/2010/06/even-vertical.png"><img class="size-medium wp-image-775 aligncenter" title="even-vertical" src="http://blog.hawkhost.com/wp-content/uploads/2010/06/even-vertical-300x218.png" alt="" width="300" height="218" /></a></p>
<p>Now that you&#8217;ve seen the different layouts let&#8217;s see what we can do with these panes. As mentioned above in the &#8220;Pane Handling&#8221; section you can switch through panes by issuing the <em><strong>Ctrl-b o</strong></em> key combination (which is using the <em><strong>down-pane</strong></em> command) or by typing <em><strong>Ctrl-b q</strong></em> which will list the pane ID&#8217;s and you select the one you want.</p>
<h3>Make your pane into its own window</h3>
<p>If you want to take a pane and make it into its own window you do the following:</p>
<blockquote><p><strong>Ctrl-b : &#8220;break-pane&#8221;</strong></p></blockquote>
<p>Simple enough, you should now have the pane in its brand new window. If you don&#8217;t want it to automatically make the pane you just broke out as the active window issue the &#8220;-d&#8221; switch which will simply break the pane to a new window but keep you in the current window.</p>
<h3>Resizing Panes</h3>
<p>You can also resize panes if you don&#8217;t like the layout defaults. I personally rarely need to do this, though it&#8217;s handy to know how. Here is the basic syntax to resize panes:</p>
<blockquote><p><strong>Ctrl-b : resize-pane</strong> (By default it resizes the current pane down)<br />
<strong> Ctrl-b : resize-pane -U</strong> (Resizes the current pane upward)<br />
<strong> Ctrl-b : resize-pane -L</strong> (Resizes the current pane left)<br />
<strong> Ctrl-b : resize-pane -R</strong> (Resizes the current pane right)<br />
<strong> Ctrl-b : resize-pane 20</strong> (Resizes the current pane down by 20 cells)<br />
<strong> Ctrl-b : resize-pane -U 20</strong> (Resizes the current pane upward by 20 cells)<br />
<strong> Ctrl-b : resize-pane -L 20</strong> (Resizes the current pane left by 20 cells)<br />
<strong> Ctrl-b : resize-pane -R 20</strong> (Resizes the current pane right by 20 cells)<br />
<strong> Ctrl-b : resize-pane -t 2 20</strong> (Resizes the pane with the id of 2 down by 20 cells)<br />
<strong> Ctrl-b : resize-pane -t -L 20</strong> (Resizes the pane with the id of 2 left by 20 cells)<br />
&#8230; etc</p></blockquote>
<p>Hopefully you get the jist &#8211; don&#8217;t get confused! Simply load up a tmux session and split the window a couple of times and issue the above commands. It should become fairly evident how it behaves after fiddling with it for a bit.</p>
<h3>Utilizing the client / server model</h3>
<p>I&#8217;ve avoided mentioning that a lot of these commands can actually be applied to numerous tmux sessions which allows quite a bit of flexibility &#8211; the reason for avoiding it is it&#8217;s too much information all at once! An example of using this functionality is if you have two sessions open you can &#8220;link&#8221; or &#8220;move&#8221; windows across different sessions &#8211; unfortunately the actual &#8220;how-to&#8221; will be in Part 2.</p>
<h3>Conclusion</h3>
<p>Tmux may be a bit confusing however it&#8217;s worth putting in a few minutes to check it out and see what it has to offer &#8211; quick easy and intuitive.</p>
<h3>Upcoming in Part 2</h3>
<p>I&#8217;ll be going over several tips and tricks for tmux including:</p>
<ul>
<li>Custom hotkeys</li>
<li>Custom window styles &amp; colors</li>
<li>Scripting with <em>tmux</em> (bash, sh)</li>
<li>How to use the server / client model further</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multiplexer/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>New Blog Theme Twenty Ten</title>
		<link>http://blog.hawkhost.com/2010/06/20/new-blog-theme-twenty-ten/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=new-blog-theme-twenty-ten</link>
		<comments>http://blog.hawkhost.com/2010/06/20/new-blog-theme-twenty-ten/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 00:08:13 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=717</guid>
		<description><![CDATA[You may have noticed if you visit our blog once in a while the theme has just changed.  I noticed the release of wordpress 3.0 included a new theme so I wanted to check it out.  To my surprise I &#8230; <a href="http://blog.hawkhost.com/2010/06/20/new-blog-theme-twenty-ten/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You may have noticed if you visit our blog once in a while the theme has just changed.  I noticed the release of wordpress 3.0 included a new theme so I wanted to check it out.  To my surprise I actually like it for it&#8217;s simplicity plus supporting some of the new features.  Like you may notice right now we have the &#8220;New&#8221; Hawk Host logo displayed on the header of the blog rather than some generic picture one.  So right there it is more Hawk Host like then our previous theme.  You can do a lot more than that apparently as well</p>
<p><span id="more-717"></span>You have the ability to change the background color very easily which we might do in the future when someone with a sense of design feels like working on that.  So along with the header image you can make a wordpress blog that matches your site relatively easy now.  So for people like us no need at least at this point to even look at using another theme.</p>
<p>For example that header image we&#8217;re using right now I just looked at some of our PNG drawing previews for our logo and mascot and uploaded it.  Then on the next page it sent me to an easy to use interface to crop the image.  So anyone could make a decent looking header image for their site with relative ease now.  I&#8217;m sure for most it was easy before but for those of us even to lazy to open paint to crop an image it&#8217;s great!</p>
<p>Along with all the design aspects I guess there is a new menu creation system as well.  It looks like your typical drag and drop page like you have on widget pages and things like that.  So very easy to build a nice usable menu to fit your site.</p>
<p>Overall I think it&#8217;s a great theme for those of us to lazy to find a theme we like to design one around our web site.  So it fits great for us and I&#8217;m sure a lot of other users!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/06/20/new-blog-theme-twenty-ten/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>It&#8217;s been a while</title>
		<link>http://blog.hawkhost.com/2010/06/09/its-been-a-while/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=its-been-a-while</link>
		<comments>http://blog.hawkhost.com/2010/06/09/its-been-a-while/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 00:18:09 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=710</guid>
		<description><![CDATA[It has been a while since we&#8217;ve had a blog post about anything so I thought it would be a good idea to just talk about what is going on.  Obviously we&#8217;ve been very busy keeping up with our growth &#8230; <a href="http://blog.hawkhost.com/2010/06/09/its-been-a-while/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It has been a while since we&#8217;ve had a blog post about anything so I thought it would be a good idea to just talk about what is going on.  Obviously we&#8217;ve been very busy keeping up with our growth along with improving our internal tools and other backend systems.</p>
<p>I last talked about our servers at the start of March so I figured I&#8217;d update on what has happened.  The first one being we do not use SATA disks for our web or VPS servers anymore as our Marlin server was upgraded some time ago.  We&#8217;re 100% 300GB SAS 15K RPM drives which means improved reliability across the board.  We have seen a big drop in the number of drive failures and when a drive does fail we&#8217;re no longer see raid array problems which we would see in 25% of cases previously.  We added our first shared web hosting only server in February and since then we&#8217;ve added 2 additional servers to that fleet to cover all locations.  We&#8217;ve also added our first of hopefully many 5600 series CPU&#8217;s to our server fleet.  For web servers though CPU is generally not the issue so we may not use them depending on availability.  We just like having the newest hardware so if it&#8217;s there we&#8217;re going to use it.  I&#8217;d say the best news on the server front is the introduction of an upgraded Bosco server (Our backup server).  This machine is a beast being a Dual Xeon 5520, 12GB ram and 24x1TB drives in a Raid-10 with a Adaptec 52445 raid card.  Raid-10 may seem silly seeing as how we lose half the disks in the process but for us we need high performance writes which raid-5 would not be able to provide for us.  Also even if we had used raid-5 and had more space we&#8217;d run out of I/O on the disks before we&#8217;d ever come close to filling the disks.  So we have about 11TB of space at our disposal for our backup machine and it should handle 35-40 servers for us hopefully so it&#8217;s quite a lot.</p>
<p>So on the internal aspects side of things we&#8217;ve been working on fixing bugs in our systems.  For example with the introduction of our Xeon servers with hyper threading we had to adjust our monitoring systems for CPU usage and load due to having twice as many CPU&#8217;s showing up on the systems.  Unfortunately a mistake was made resulting in older machines without HT (Xeon 5400 servers) not having the warnings on their systems set properly.  They were set to be as high as servers with twice as many CPU&#8217;s which in one instance resulted in higher than acceptable usage on a machine.  We promptly fixed it once we were aware but it&#8217;s things like this we&#8217;re attempting to fix.  We&#8217;re also working on expanding the features available to technicians to quickly find systems and identify issues.  While currently only available to our higher level technicians some of this information is valuable to everyone.  So we&#8217;re working to have the systems in place to have it available to all technicians in hopes it&#8217;ll result in quicker resolutions and less ticket escalations.</p>
<p>We&#8217;ve been silently working on our own VPS panel to replace our current one.  It&#8217;s work in progress though and we hope to have something substantial near the end of this month.  It totally depends on how testing goes and if we feel it&#8217;s ready for actual user use and not strictly as an internal system of ours.</p>
<p>Finally we&#8217;ve ended some major coupons as the reason for those promotions have ended.  While they helped us grow at a great rate at the same time we cannot run a coupon forever or it loses it&#8217;s meaning.  Our whts50 coupon which was for our sticky topic on webhostingtalk has ended due to the fact the sticky topic is gone.  Near the end it was posted all over the internet and our most popular coupon which was meant at the time to target a specific user base.  We won&#8217;t have another 50% coupon like this most likely until we have another sticky topic like it which means probably not until September as that&#8217;s when our next sticky topic will start.  Of course it will be a new coupon to in order to avoid the same coupon being used all over again from everywhere.  Along with the shared coupon being gone our long time reseller coupon has expired which was r25percent.  We&#8217;re attempting to control the market a bit on our reseller plans right now so discounts for those just do not make sense.  When we&#8217;re ready to start pushing reseller accounts I&#8217;m sure a new coupon will show up similar to it.</p>
<p>So that&#8217;s about it what&#8217;s going on so tons of growth as always and lots of things going in the background to improve our services.  We hope things continue to be that way so we can continue to improve our services as we grow as a company.  Also as we grow maybe we&#8217;ll get more blog posts in but we&#8217;ll see it&#8217;s difficult to come up with topics of interest all the time.  As much as we enjoy writing about nothing it tends to not interest many people.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/06/09/its-been-a-while/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Softaculous Praise</title>
		<link>http://blog.hawkhost.com/2010/04/25/quick-softaculous-praise/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=quick-softaculous-praise</link>
		<comments>http://blog.hawkhost.com/2010/04/25/quick-softaculous-praise/#comments</comments>
		<pubDate>Sun, 25 Apr 2010 18:43:57 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=707</guid>
		<description><![CDATA[I talked about Softaculous before but I wanted to just praise them yet again and what an excellent choice we made adding them and promoting it over Fantastico whenever we can.  Obviously we cannot remove Fantastico for marketing reasons but &#8230; <a href="http://blog.hawkhost.com/2010/04/25/quick-softaculous-praise/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I talked about Softaculous before but I wanted to just praise them yet again and what an excellent choice we made adding them and promoting it over Fantastico whenever we can.  Obviously we cannot remove Fantastico for marketing reasons but Softaculous is always what we recommend the users use.</p>
<p>So they released 2.8 recently which added a nice new backup utility as well as adding a search feature.  Although that&#8217;s not all though:</p>
<ol>
<li>A Backup utility has been added into Softaculous. Users can now create and download backups from the Softaculous Panel.</li>
<li>A cool new Search feature has been added in Softaculous. This search feature is available throughout Softaculous. Users can type in the script name and they will be redirected to the script itself. A suggestion will also be made as you type in the search box!</li>
<li>Users will be shown a message on the Softaculous Index if there is any outdated installations.</li>
<li>Ability to choose &#8216;http://&#8217;, &#8216;https://&#8217;, &#8216;http://www&#8217;, &#8216;https://www&#8217; while installing scripts has been added.</li>
<li>The CRON jobs will email users if there is any newer version of scripts available.</li>
<li>A new feature which will enable the Admin to email users having Outdated Installations has been added.</li>
<li>The Fantastico importer at the Admin Level has been improved.</li>
<li>The Softaculous CORE has been improved for better perfomance.</li>
</ol>
<p>So quite a few updates to the core of the system in 2.8 which was released on the 20th.  Though this is not what I wanted to make the post it&#8217;s because of the most recent script updates we saw come through the pipeline.  Here&#8217;s the list:</p>
<p>Here are all the scripts most recently updated:</p>
<blockquote><p>Zikula 1.2.2 &#8211; Successful<br />
Coppermine 1.4.26 &#8211; Successful<br />
TinyWebGallery 1.8 &#8211; Successful<br />
b2evolution 3.3.3 &#8211; Successful<br />
LifeType 1.2.10 &#8211; Successful<br />
Dotclear 2.1.6 &#8211; Successful<br />
Textpattern 4.2.0 &#8211; Successful<br />
Geeklog 1.6.1 &#8211; Successful<br />
Drupal 6.16 &#8211; Successful<br />
Mambo 4.6.5 &#8211; Successful<br />
PHP-Nuke 8.0 &#8211; Successful<br />
Nucleus 3.51 &#8211; Successful<br />
XMB 1.9.11 &#8211; Successful<br />
Gallery 2.3.1 &#8211; Successful<br />
LinPHA 1.3.4 &#8211; Successful<br />
MyBB 1.4.13 &#8211; Successful<br />
Phorum 5.2.15a &#8211; Successful<br />
PunBB 1.3.4 &#8211; Successful<br />
Piwigo 2.0.9 &#8211; Successful<br />
Pixelpost 1.7.3 &#8211; Successful<br />
ZenPhoto 1.2.9 &#8211; Successful<br />
PhpWiki 1.2.11 &#8211; Successful<br />
PmWiki 2.2.15 &#8211; Successful<br />
Serendipity 1.5.2 &#8211; Successful<br />
Open Blog 1.2.1 &#8211; Successful<br />
Website Baker 2.8.1 &#8211; Successful<br />
sNews 1.7 &#8211; Successful<br />
UseBB 1.0.10 &#8211; Successful<br />
Pligg 1.0.4 &#8211; Successful<br />
MODx 1.0.3 &#8211; Successful<br />
eggBlog 4.1.2 &#8211; Successful<br />
phpAlbum 0.4.1.14.6 &#8211; Successful<br />
Shutter 0.1.4 &#8211; Successful<br />
Pixie 1.04 &#8211; Successful<br />
Xoops 2.4.4 &#8211; Successful<br />
FluxBB 1.2.22 &#8211; Successful<br />
4images 1.7.7 &#8211; Successful<br />
Typo3 4.3.2 &#8211; Successful</p></blockquote>
<p>Now that&#8217;s a big list of updates I imagine a few were a little bit out of date but this is still very impressive.  This is pretty close to the total number of scripts Fantastico has in total.  It just shows you if you&#8217;re not using Softaculous with us you should be!  Great news is it can take your Fantastico install and manage it so no major time consuming work to get it switched on your part.  Hopefully Softaculous continues to  release quick updates which I&#8217;m sure they will as their system just seems better designed than what Fantastico is as far as having updates released.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/04/25/quick-softaculous-praise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cPanel Broken Bandwidth Tracking</title>
		<link>http://blog.hawkhost.com/2010/04/02/cpanel-broken-bandwidth-tracking/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=cpanel-broken-bandwidth-tracking</link>
		<comments>http://blog.hawkhost.com/2010/04/02/cpanel-broken-bandwidth-tracking/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 19:12:09 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=686</guid>
		<description><![CDATA[If you haven&#8217;t noticed yet on a lot of our servers specific accounts on each server do not have any bandwidth tracking what so ever.  If you&#8217;re on a shared hosting account you would only realize if your bandwidth usage &#8230; <a href="http://blog.hawkhost.com/2010/04/02/cpanel-broken-bandwidth-tracking/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t noticed yet on a lot of our servers specific accounts on each server do not have any bandwidth tracking what so ever.  If you&#8217;re on a shared hosting account you would only realize if your bandwidth usage has been zero.  For a reseller it&#8217;s highly likely at least one of your accounts is not tracking any bandwidth.  As it stands anyone affected by this is just being given a free ride as far as bandwidth and we&#8217;ll deal with any extra cost due to bandwidth usage not being available.  If you&#8217;re curious about the bandwidth usage of a specific site you can still retrieve this via web statistics like awstats or webalizer.  This post though is to actually talk about why it&#8217;s happening and what steps we&#8217;ve attempted to get it resolved.</p>
<p>We have strong reason to believe this started around 2010-02-19 or around then when we updated our cPanel servers to release build 43472.  This build addressed the following problem:</p>
<p>Updated bandwidth algorithms to address an issue calculating the bandwidth total for accounts with high traffic sub domains.</p>
<p>This was a pretty big deal as some users were experiencing this.  We figured an easy quick fix by cPanel no problem we&#8217;ll have everyone with proper bandwidth usage again.  It did resolve over calculation of bandwidth for high traffic sub domains it just messed up bandwidth tracking in general for a lot of accounts.</p>
<p>We discovered this problem in early March and to our surprise found a post on the cPanel forums with lots of other users complaining about it: <a href="http://forums.cpanel.net/f5/bandwidth-not-calculating-149637.html">http://forums.cpanel.net/f5/bandwidth-not-calculating-149637.html</a> There was a similar topic when bandwidth was over calculating and a cPanel representative was quick to respond saying they&#8217;re working on a fix.  This topic though started March 1st and now into the second page has not received any response from cPanel themselves confirming there is an issue.  Typically with cases like that they would respond back saying yes we&#8217;re working on it.</p>
<p>Based on the lack of response from cPanel to the topic itself I gave them the benefit of the doubt and decided to make a support ticket which I tend to avoid doing.  The ticket was opened on March 22nd and eventually on March 23rd they said our issue was load average.  Of course this being an insane excuse for a small percentage of accounts to have broken bandwidth usage.  I said fine we&#8217;ll let stats run with a higher load average and see what happens.  I gave it 24 hours and no surprise as I told them at the time it would not solve the problem and we still have sites without bandwidth usage unless we force ran it via /scripts/runweblogs which processes web stats as well as updates a users bandwidth usage.  Typically cPanel does this for you a few times a day for the bandwidth usage which it was not doing.</p>
<p>We had now been passed off to a level3 technician at cPanel suggesting yet another miracle fix late March 23rd.  The fix was the following:</p>
<p style="padding-left: 30px;">/scripts/autorepair repair_bwsummary<br />
/usr/local/cpanel/bin/repair_bwsummary<br />
/usr/local/cpanel/bin/repair_bwsummary brokenusername</p>
<p>I had some hope for this fix as it was using an autorepair script from cPanel.  We ran the same command across a few servers and their affected users.  We gave it 24 hours to see if bandwidth usage was tracked over that 24 hour period.  Unfortunately it was not the case and once again back to cPanel asking for help.  This time we were told development has been informed and they&#8217;d get back to us most likely Monday since it was Friday night already. To our surprise development was a little quicker and the level3 technician helping us said the developer working on the issue had a manual patch fix that may work.  They offered to apply it to the servers at which point we declined.  The reason being we have a lot of servers and having cPanel attempting to repair all these users seemed to not be a wise solution.  This especially true when there was no guarantee and there was an official fix being worked on that would be passed through quality assurance then released.  This news came on March 24th and it&#8217;s now and it&#8217;s been over a week without this officially being pushed out to all cPanel builds as far as I can tell.</p>
<p>I was surprised at the time people were not complaining more so but then recently topics have started to show up on webhostingtalk as well.  This topic <a href="http://www.webhostingtalk.com/showthread.php?t=936718">http://www.webhostingtalk.com/showthread.php?t=936718</a> outlines web hosts seeing this and a some opening tickets.  Assuming they&#8217;re telling the truth about the tickets cPanel is being slow to admit there is even an issue.</p>
<p>So unfortunately for us we&#8217;re going to continue to deal with this problem.  A fix being anywhere in sight?  I doubt it at this point based on how long this has been and the fact you cannot get a response on their forums about it and their support people are taking a long time to admit there is even a problem.  If I was big on conspiracies I&#8217;d say it&#8217;s some big provider paying cPanel to do this as this provider is probably unlimited bandwidth.  So broken stats for them is not bad but for other hosts it&#8217;s a costly matter when they bill for bandwidth.  Although that&#8217;s highly unlikely and the more likely cause is just part of the steady decline of the cPanel product.  This is not just my opinion either as far as decline people have been disappointed in the quality of releases as of late with bugs and other problems.  Bug fixes to issues have been slow and simple usability enhancements to make certain sections of the panel as friendly as others have been ignored for years.  Even usability features added in one release have been then removed in newer versions with forum posts and tickets be ignored.  I suppose we should have all seen this coming with the removal of their bug tracker and being forced to file bug reports via ticket and features now having to be requested via forum.  Granted they were not maintaining the bug tracker but maybe they should have done that so they could construct roadmaps of bug fixes and features they were adding as that is typically what&#8217;s done.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/04/02/cpanel-broken-bandwidth-tracking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Developers Out Of Reach</title>
		<link>http://blog.hawkhost.com/2010/03/31/developers-out-of-reach/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=developers-out-of-reach</link>
		<comments>http://blog.hawkhost.com/2010/03/31/developers-out-of-reach/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 19:11:08 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=682</guid>
		<description><![CDATA[Last week my Brother asked me if he could use my credit card to buy a new phone online since his no longer worked.  I don&#8217;t like using my credit card anywhere but on my computer so he came over &#8230; <a href="http://blog.hawkhost.com/2010/03/31/developers-out-of-reach/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last week my Brother asked me if he could use my credit card to buy a new phone online since his no longer worked.  I don&#8217;t like using my credit card anywhere but on my computer so he came over so we could do it on my computer.  We started the process of taking advantage of a web only offer for the new phone he wanted.  We got to the checkout and were surprised to find a strange repeating screen about being a foreign customer (we were not).  So we tried a few browsers and both my ISP&#8217;s and same thing happened.  Eventually though in Internet Explorer we received a javascript error then checking back in Firefox it was now just a javascript error as well.  He called and they had no idea what we were talking about he was sent to various departments.  Eventually he ended up in sales who could not offer the web only offer but wanted 3 times as much for the same phone.  Told them no the issue is the order form is broken and then sent back around to technical support.  They basically said we cannot help you we have no way of contacting the web development guys to confirm there is an issue or even fix the issue.  So basically my brother was out of luck because of the fact no one at this company we could speak to could talk to anyone in charge of their actual web site.  This was a big time company and it&#8217;s pretty bad their order forms were broken and the fact no one was aware on the phones or could even contact someone was pretty bad.</p>
<p>That story made me think of my blog post today about the developers seemingly always being out of reach of the people who need them the most.  In this case it was the employees of this company having no way to even contact the people in charge of the systems.  It also happens to us when we&#8217;re dealing with products we run on our servers or just on our own systems.  It&#8217;s pretty frustrating situation to deal with when you report bugs to the support team.</p>
<p>We&#8217;ve had long outstanding bugs with several pieces of software we run both of which causing us headaches every once in a while.  In every case we&#8217;ve dealt strictly with support people who tell us it&#8217;s not yet fixed.  When you hear this for a year it starts to get to a point where you just want to say let me talk to them.  It makes me wonder if the support person is explaining the issue or even reporting it to developers at all.  In every case these vendors have no bug reporting systems at all or shut them down in favor of none.  So it&#8217;s make a ticket to support and hope they file a proper bug report.</p>
<p>I did a time as a co-op where I did software development so I can understand the problem of developers talking to users all the time.  There are times though when you need to talk to the end user to figure out how to replicate a bug.  I know some developers would never do that but rather would sit in their little coding cave and never interact with the end users at all to implement fixes that matter or add even very simple features.  Along with that developers getting involved in aspects so they know the product better also goes a long way.  Rather than just developing the product go out there and try to perform the task the end users are doing.  So if it&#8217;s in house application go and watch them on their computer or work with them to try to accomplish their tasks for a few hours or a day or whatever.  If it&#8217;s an end user piece of software try to create a better test environment or get more active feedback rather than just saying no bugs it works.  When you intend to use a piece of software for what it&#8217;s meant for you tend to find a lot of things you wouldn&#8217;t if you&#8217;re going off a check box system of what needs done.  So for example you have a screen and it works so you&#8217;re happy as a developer but as the end user the way it was designed is adding extra work load and one tiny change to the screen say some sort of auto complete instantly increases productivity by 10 fold.</p>
<p>That&#8217;s my rant for today just if you&#8217;re developing software make so users if necessary can talk to developers to get bugs squashed.  If you&#8217;re a developer don&#8217;t instantly dismiss end users as being idiots as they may be onto something and maybe it&#8217;s worth listening and trying to implement those changes.  The changes may seem small to you but they may be huge for the end users.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/03/31/developers-out-of-reach/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Suspension Pages &#8211; The Unforeseen Bane Of Web Hosting</title>
		<link>http://blog.hawkhost.com/2010/03/29/suspension-pages-the-unforeseen-bane-of-web-hosting/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=suspension-pages-the-unforeseen-bane-of-web-hosting</link>
		<comments>http://blog.hawkhost.com/2010/03/29/suspension-pages-the-unforeseen-bane-of-web-hosting/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 01:58:14 +0000</pubDate>
		<dc:creator>Cody</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[rant]]></category>
		<category><![CDATA[scaling]]></category>
		<category><![CDATA[suspension]]></category>

		<guid isPermaLink="false">http://blog.hawkhost.com/?p=677</guid>
		<description><![CDATA[A few months ago we created a custom suspension page for shared accounts that are suspended. Now normally this is pretty straightforward task and you wouldn&#8217;t put much thought into it &#8211; we didn&#8217;t either. So we went ahead and &#8230; <a href="http://blog.hawkhost.com/2010/03/29/suspension-pages-the-unforeseen-bane-of-web-hosting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A few months ago we created a custom suspension page for shared accounts that are suspended. Now normally this is pretty straightforward task and you wouldn&#8217;t put much thought into it &#8211; we didn&#8217;t either. So we went ahead and setup a sub-domain, modified our layout accordingly setup cPanel. That&#8217;s it!</p>
<p>Well they say hindsight is 20/20 and we would tend to agree. Suddenly we got a huge surge of traffic from suspended accounts which was to be expected but due to a single oversight we had to skurry before the server decided to go kaput: PHP! We use PHP (Zend Framework, etc) for our website and portal so naturally we carried over some code from our website to our suspension page without thinking about the amount of traffic that would be hitting it. The result was a large amount of PHP processes bogging down the CPU causing our suspension page to almost become suspended itself. Obviously to fix it we simply put up a static page and called it a day.</p>
<h2>Oops!</h2>
<p><strong>Moral of the story: </strong>Even the most trivial of things can cause issues to a server; this is even more true when you&#8217;re running robust scripts such as WordPress in a shared environment. Think about<a href="http://blog.hawkhost.com/2009/09/13/why-you-should-use-wp-super-cache/"> caching and scaling</a> in general &#8211; not only will you learn you&#8217;ll prevent silly mistakes. One common issue we see constantly in our environment is people setup their 404&#8242;s to a non-static / heavily dynamic page and as a result if they get any sort of flux of traffic / spiders to the 404 pages their MySQL and CPU usage goes insane. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hawkhost.com/2010/03/29/suspension-pages-the-unforeseen-bane-of-web-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
