SCO Unix - Disk Space | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

SCO Unix - Disk Space

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 07-16-2006
trinhnguyen trinhnguyen is offline
Registered User
 
Join Date: Mar 2005
Last Activity: 28 September 2006, 2:27 AM EDT
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
SCO Unix - Disk Space

Hi,

I am using SCO Unix 3.12 and Informix database. When we tried to use "du -a" command to check disk space, it showed:

342122 ./usr
30092 ./etc
6244 ./dev
4778 ./bin
2674 ./tcb
1234 ./lost+found
698 ./lib
532 ./shlib
46 ./tmp
6 ./messages
4 ./opt
4 ./var
2 ./mnt
2 ./install
2 ./wastebasket

Total = 388440 blocks

But when I used command "df -f", it showed that I have used up 691920 blocks .

I don't know why? One more thing, before it happened, I try to export database from Informix to text file, but it's too large, so I stopped the process. After that, the problem has occurred.

Please advise,
Thanks
Sponsored Links
    #2  
Old 07-17-2006
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
 
Join Date: Mar 2005
Last Activity: 11 April 2014, 1:02 AM EDT
Location: classification algos
Posts: 3,203
Thanks: 19
Thanked 30 Times in 27 Posts
that is the difference between disk usage (du) and free blocks displayer (df)

if a file makes use of 2KB of 1 MB block
du will display that the file had used only 2KB

but df would display that 1 MB had been used as its displaying only the free blocks available,
even if 1 byte is used in 1MB free block, the free block is no more a free block and its used.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
DISK SPACE in UNIX sachin4shell Shell Programming and Scripting 1 05-05-2012 09:49 PM
Disk space and RAM status in UNIX renjithram Filesystems, Disks and Memory 2 05-23-2009 02:53 PM
Disk space details from Unix to Outlook sridharnr Shell Programming and Scripting 2 09-18-2008 05:23 AM
available disk space on disk device??? alan UNIX for Dummies Questions & Answers 4 01-02-2004 02:06 AM



All times are GMT -4. The time now is 08:08 AM.