![]() |
|
01.13.10 How To Determine Your Free Disk Space By Dave Taylor Dave, I know how to check for free disk space on Windows XP, but how do I check for the amount of free disk space available on a machine running Linux (CentOS, Fedora, Red Hat, Ubuntu, etc.)? Dave's Answer: Checking disk space on a Windows PC is easy -- just right-click on a drive like the C: drive and pick "Properties". But if you have a dedicated server or a Virtual Private Server (VPS) hosted for you at a hosting company, the chances are that it's running some version of Linux, and that you have to connect to it via a command line interface, looking something like the little black box in the image below. This means that most simple administrative commands, like checking free disk space, can no longer be accomplished with something intuitive like right-clicking; most administrative tasks correspond to a typed command that has to be memorized. Most dedicated servers and Virtual Private Servers come with plenty of disk space, but if you are running any software that you wrote yourself or that was custom-written for you, a small error in the program could cause disk space to fill up quickly. Another possibility is that a remote user might be connecting to a service running on your machine (for example, browsing your website) and generating a lot of traffic, and the webserver writes a record of each transaction to a log file, and if you're getting an enormous amount of traffic, the log file could grow so large that you could start to run out of disk space. If you're connected to your server via a command like interface like the following: ![]() then to check disk space, type the "df -h" command: Continue reading this article. About the Author: Dave Taylor is known as an expert on both business and technology issues. Holder of an MSEd and MBA, author of twenty books and founder of four startups, he also runs a marketing company and consults with firms seeking the best approach to working with weblogs and social networks. Dave is an award-winning speaker and frequent guest on radio and podcast programs. AskDaveTaylor.com http://www.intuitive.com/blog/ |
||||||||
|
| ||
| -- LinuxDeveloperNews is an iEntry, Inc. publication -- |