Solved

how to find out how much space left on Linux or UNIX server ?

Posted on 2003-11-23
2
1,507 Views
Last Modified: 2012-06-27
Hi experts,

I am new to Linux and UNIX. I just wonder how to find out the hard drive space left on LINUX or UNIX server? How should we plan for the database space usage, I mean how much ahead should we re-oreder hard drive space? thanks.
0
Comment
Question by:panpioneer
2 Comments
 
LVL 8

Expert Comment

by:baonguyen1
ID: 9808432
on Unix or Linux , you can use:

$df -k

It's hard to say. You may have to to work with the developer and data owner to set the plan up.
0
 

Accepted Solution

by:
rdf earned 25 total points
ID: 9822309
On linux, use:
$ df -h
This prints it out in "human" readable form.

On Unix, I use:
$ df -Mk
This rearranges the columns so that it is more easily read.

As to database size, I would build a development DB and put it through the grind. Try to emulate real life scenarios, and real life dml, this will give you an estimate of what kind of disk space you will need.

Remember, disks are pretty cheap these days, and have huge storage capacities. Do you plan on using a RAID, SAN, or just use the internal drives that come with the server? There's many options, storage wise.
Good luck...

-rdf
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question