WHIR | BLOGS | WEB HOST NEWS | FIND WEB HOSTS | RESELLER HOSTING | MAGAZINE | WHIR TV | NEWSLETTER | rss feeds
find web hosts at web host industry review Jobs | Events | Sitemap | Search 


More Web Hosting Articles  Web Hosting Specials RSS Feed 

 
Previous Article: Choosing a Green Web host
 
Next Article: How to Move a Large Forum Between Servers
 





How to Check the Disk Space on a Linux Server

Keeping an eye on disk space usage is critical to keeping a server healthy. One of the last things a system admin wants is a system to run out of disk space.

   
Let Rackspace make the difference with reliable managed hosting solutions backed by Fanatical Support.™ 100% Network Uptime Money-Back Guar., 1-hour hardware replacement, 24/7 LIVE, MS and LNX certified technical support.

So, how does a Linux System Administrator check his server for used and available disk space? Use Putty or your favorite SSH client and logon to your server. Switch to the root user once you are logged.

Then execute the following command:

root@server [~]# df

This command will show you the disk space among your partitions in KB size.

Sample Output:

Filesystem            1K-blocks        Used           Available     Use%      Mounted on

/dev/hda3               37167560       14344212     20935312     41%           /

/dev/hda1               256667           27790          215625         12%          /boot

/dev/hdc1               38464340       16535548     19974888     46%           /backup

none                      766696           0                 766696          0%           /dev/shm

/dev/tmpMnt           806288           17416          747912          3%           /tmp

If you want to see your server disk space in Gigabyte data change the command as shown in our next example:

root@server [~]# df -h

Sample Output:

Filesystem              Size         Used       Avail     Use%      Mounted on

/dev/hda3                36G          14G        20G        41%             /

/dev/hda1                251M        28M        211M      12%            /boot

/dev/hdc1                37G          16G        20G        46%            /backup

none                       749M          0          749M       0%             /dev/shm

/dev/tmpMnt            788M        18M        731M       3%             /tmp

I make it a habit to check servers whenever I log into one via SSH. Next to using the "top" command, checking the disk space is one of my high priority items.



Print this Page       Email this Page        Add to: | del.icio.us | digg


WHIR.com Sponsored Links

> Server Beach: $75 Dedicated Servers & 99.999% Uptime Guaranteed
> DataPipe: Managed Hosting Services
> Rackspace: Hosting Solutions That Bring Peace to Your IT World™
> Website Source: Powerful Website hosting starting at $6.85
> SuperbHosting.Net: Dedicated Servers-$59m & Cheap Web Hosting-$2.50/m
> iWeb: Quality Servers. 3000GB of traffic for only $69
> The Planet: Dedicated servers and managed hosting solutions
> HostingMetro.com: Affordable Web Hosting Starting From $3.95/mo!
> SERVER4YOU: Dedicated servers – starting $29!
> Serve customers, not servers, with Verio 360° Managed Servers
> NTT America: Scalable Hosting Solutions from Start > Growth
> UltraHosting: Dedicated Servers from $55. VPS from $29. UltraSecure.
> GoDaddy.com: Trust the world's largest hostname provider.
> FindSSL.com: Find SSL Certificates, SSL News and EV SSL Information
 


 


request a quote for web hosting
Web Hosting Directory

 Personal Web Hosting
  > Budget Web Hosting
  > Blog Hosting
  > Photo Album Hosting
  > Domain Registrars

 Small Business Hosting
  > Ecommerce Hosting
  > Windows Web Hosting
  > Database Web Hosting
  > Email Hosting Solutions
  > Adult Web Site Hosting
  > SSL Certificates

 Premium Domains

 Reseller Hosting
  > Web Host Automation
  > Private Label Hosting
  > Services for Web Host
  > Advertising Agencies
  > Wholesale Domains

 Dedicated Servers
  > Virtual Private Servers
  > Game Servers, Hosting

 Managed Hosting
  > Application Hosting
  > Complex Web Hosting
  > Data Center Space
  > Grid Hosting
  > Compliance Hosting

 Content Delivery (CDN)

 Worldwide Web Hosts
  > Asian Web Hosting
  > Australian Web Hosting
  > Canadian Web Hosting
  > Caribbean Web Hosting
  > China Web Hosting
  > Danish Web Hosting
  > European Web Hosting
  > German Web Hosting
  > Hong Kong Hosting
  > India Web Hosting
  > New Zealand Hosting
  > Panama Web Hosting
  > Singapore Web Hosting
  > UK, Irish Web Hosting
  > USA Web Hosts

 Web Hosting Search

 



WHIR NEWSLETTER SIGN-UP | MANAGE SUBSCRIPTIONS | WHIR RSS FEEDS
Name:
Email:
Password:
theWHIR Blog Email Update
Magazine
Daily News
Find Web Hosts
Occupation:
Company Type:

Find Web Hosts | Reseller Hosting | Personal Web Hosting | Small Business Web Hosting | Dedicated Servers | Managed Hosting | Adult Web Hosting


About WHIR | Online Advertising | Print Advertising | Print Subscription | Email Newsletters | RSS Feeds
 
Submit News | Privacy Policy | Buy Reprints

Web Host Industry Review, Inc. is not responsible for the content of comments submitted by our users.

  © Copyright Web Host Industry Review, Inc.