Discover htop

Here’s a cool program that can be pretty helpful: htop (http://htop.sourceforge.net/).

Monitoring the vital stats on a Linux server can be difficult; you’ve got a ton of utilities like top, free, /proc, vmstat, sar, along with logs to sort through. Imagine if on Linux you could watch each process, view its threads and sub processes, track memory usage and sort your entire systems performance by whatever variables you desired? This is possible and much more with htop.

Htop calls itself “an interactive process viewer for Linux” that runs from the console as an ncurses-built application. Once you load it, right away you’ll notice some considerable improvements over the standard top. The use of ncurses gives htop visually pleasing and functional text-based graphical interface. Along the top of the screen you’ve got color coded bars:

  • CPU usage, color coded to show cpu time by normal, kernel, irq, and io-wait usage
  • Memory usage, color coded to show actual usage vs. cached and buffer usage–a huge timesaver instead of trying to interpret the output of vmstat or free!
  • Uptime and load averages.

The process list in htop is also vastly improved. You can scroll through it (arrow keys), view it in tree mode (F5) to show links between threads spawned by a process, sort by columns (F6) any of the defined metrics, search for keywords (F3), change nice level (F7,F8) or even interactively kill a specific process (F9).

Enter setup (F2) and you’ll find that everything about the main window is customizable. You can display as little or as much information as you want it to. You can also change the style of or add additional meters to the top, as well as change the default color coding. The columns in the main part of the display are also entirely customizable allowing you to choose from a wide variety of available system monitors and resource counters.

The best part about htop is that is easy to use and understand, even a novice can get a look at what’s going on under the hood of their machine, but it’s still powerful enough to use as a serious timesaving device for the advanced user. Once you get in the habit of using htop, it’s something you’ll want to have at your fingertips at all times.

Tips for Designing a Solid Backup Plan

Not having to think about backups is awesome and what would be even more awesome is not having to design a solid backup plan for your environment. But that’s not the name of the game. In complex IT environments it’s difficult to come up with a backup solution, however it’s necessary if you want to be able to sleep peacefully at night. Here’s some tips on how to design a solid backup plan:

Read the full post »

Be Authentic!

If your folks were like mine, they hammered that adage at you continually on interacting with others – be yourself. In the realm of e-commerce and electronic contact, nothing could be closer to the truth. Being yourself and claiming you are you isn’t always easy. Especially in the wonderful and relatively deregulated landscape that is the internet and its many protocols. One place in particular where authenticity can be complicated is around email.

I got thinking about this recently when I received an email from a friend of mine claiming she was at a consulate in London. I found this a little peculiar, considering we had met the night prior and she certainly didn’t mention any kind of trip. The email was asking for financial assistance, claiming she had been accosted and robbed, and the U.S. embassy wasn’t getting her anywhere. Curious, I responded to the email saying I’d be happy to help. However I requested she authenticate herself by telling me where we had dinner the night before. I never got a reply – I think that answers the authenticity question right there.

Read the full post »

Not All Clouds Are Created Equal: Which One is Right for You?

Happy New Year to all of our blog readers! Start the year of right by learning about cloud providers. On December 8th 2011, The INetU IT Expert Series presented the webinar: Not All Clouds Are Created Equal: Which One is Right for You? You’ll learn what the cloud is and how you can utilize the cloud. You will also learn about major cloud players and what they provide their clients.

During the webinar we held a live question and answer session. Since you are listening to the archived version feel to email your questions to blog@inetu.net We will be sure to answer them for you. Happy listening!

What Happens When the Server Underneath My Cloud Fails?

When many people think of the Cloud, they think that their application is running on a nebulous collection of resources that’s impervious to hardware failures.  Despite a lot of the marketing material in the industry, this just isn’t the case.  Beneath every Cloud there is hardware, and when that hardware fails, the results to some Clouds can be devastating.

When every server is an island

Many Clouds (like Rackspace’s) use local storage on each server in the Cloud.  When a server in this kind of Cloud fails, your virtual machine goes down with it.  Your VM can only be brought back online when the physical server is up and running again (or it’s restored from a backup).  If you’re using Amazon’s EC2 Cloud without Elastic Block Storage, your VM’s data is gone forever  if the physical server fails!  In both cases, this can mean a whole lot of downtime for you and your application.

Enter Shared Storage

Thankfully, there’s a solution to this problem.  The INetU Gated Community Cloud™ does things a bit differently.  We store all of the data from your virtual machine on an enterprise-grade SAN that can be accessed by other physical servers in the Cloud.  If the physical server that your VM is on fails, your VM is powered up on a different physical host in minutes.  To your virtual machine and application, it simply looks like a reboot.

That begs the question—why isn’t everyone doing this?  Before I answer that, I want to point out that many enterprises with internal Clouds do use a SAN to store their critical virtual machines.  Like most good things, enterprise grade SANs don’t come cheap, and many Cloud providers decide to cut this corner in order to save a few dollars.  Can your business afford to cut this corner?  For a mission critical site or application, the answer is very often a resounding “No”!

©1996-2011 INetU Inc, All Rights Reserved.