Unix/Linux Go Back    

UNIX for Dummies Questions & Answers This forum is closed for new posts. Please post beginner questions to learn unix and learn linux in this forum UNIX for Beginners Questions & Answers

SCO Unix - Disk Space

UNIX for Dummies Questions & Answers

Thread Tools Search this Thread Display Modes
Old Unix and Linux 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


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,
Sponsored Links
Old Unix and Linux 07-17-2006
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
Join Date: Mar 2005
Last Activity: 10 January 2017, 8:10 AM EST
Location: classification algos
Posts: 3,215
Thanks: 19
Thanked 31 Times in 28 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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 02:45 PM.