If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > df command

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-23-04, 02:58
saccskiz saccskiz is offline
Registered User
 
Join Date: Feb 2004
Posts: 143
df command

I am on AIX 4.3. In an attempt to find the amount of space I have, i did a

df .

And I got

Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/bchome_lv 2097152 1966000 7% 1788 1% /home/biochem

What does the 1966000 mean ? I mean, in what unit is it ? Bytes, kilobytes or megabytes ?

Thanks
Reply With Quote
  #2 (permalink)  
Old 07-23-04, 03:34
mp218 mp218 is offline
Registered User
 
Join Date: Mar 2004
Location: Slovenia
Posts: 56
the answer is coming from finnland

With no arguments or options, the df command displays the amount of free disk space on all of the mounted file systems. For each file system, the df command reports the file system's configured size in 512-byte blocks, unless you specify the -k option, which reports the size in kilobyte blocks. The command displays the total amount of space, the amount presently used, the amount presently available (free), the percentage used, and the directory on which the file system is mounted.


source:http://www.helsinki.fi/atk/unix/dec_...U_012.HTM#I847

thank u, Finnland

__________________
Back to the basics...
Reply With Quote
  #3 (permalink)  
Old 07-23-04, 13:13
ontoes6 ontoes6 is offline
Registered User
 
Join Date: Jul 2004
Posts: 7
Re:

Try the "bdf" command also. I dont know if it'll work on AIX but does on HP-UX. man bdf gives good info on other options in bdf.

thanks..
Reply With Quote
  #4 (permalink)  
Old 07-26-04, 08:11
TimoV TimoV is offline
Registered User
 
Join Date: Dec 2003
Posts: 56
Quote:
Originally Posted by ontoes6
Try the "bdf" command also. I dont know if it'll work on AIX but does on HP-UX. man bdf gives good info on other options in bdf.

thanks..
bdf doesn't work on AIX.....
Reply With Quote
  #5 (permalink)  
Old 07-26-04, 12:58
saccskiz saccskiz is offline
Registered User
 
Join Date: Feb 2004
Posts: 143
Thanks everybody, for the responses
Reply With Quote
  #6 (permalink)  
Old 07-27-04, 01:54
blackbrain blackbrain is offline
Registered User
 
Join Date: Nov 2003
Posts: 24
Try "man df", you'll see the parameter "-k" for a display in kilobyte.

jhp
black_
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On