SCO Unix - Disk Space


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers SCO Unix - Disk Space
# 1  
Old 07-17-2006
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
# 2  
Old 07-17-2006
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.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

DISK SPACE in UNIX

Hi, I have to regularly monitor manually if my diskspace is close to 90% or not. I use to see this by firing df -k. I want to write a script which can run 24*7 hours and would me mail me whenever the disk space is 90% or more..It would be really great if someone can helo me on this. (1 Reply)
Discussion started by: sachin4shell
1 Replies

2. SCO

Help with disk size in sco unix

when i try to find the disk size in a sco unix machine i am not quite sure about the commands df and df -k is there any other command to see what hardware raid it is built in and the total disk size any command similar to fdisk (4 Replies)
Discussion started by: robo
4 Replies

3. Filesystems, Disks and Memory

Disk space and RAM status in UNIX

I have an application which is running under AIX, HP UNIX, SCO, and LINUX(redhat and SuSE). and its dealing with some bulk amount of file handling, and some of my boxes are not very good in terms of resources like memory and disk space. so i wanted to know the statistics of each of my boxes. Like... (2 Replies)
Discussion started by: renjithram
2 Replies

4. SCO

Problem with sco unix 5.0.5 and copy disk

Hi, i'm from Argetina and my english is very poor. I'm trying to copy disk with sco unix 5.0.5 -60Gb IDE Disk- (7476, 255, 63) to other disk -IDE 80Gb- and g4u v2.3. After the copy, i'm trying the 80Gb disk and the roblem is the partition /u/disco is empty. Note: /u/disco is the... (0 Replies)
Discussion started by: sebpes
0 Replies

5. Shell Programming and Scripting

Disk space details from Unix to Outlook

Hi Friends, I am using sun Solaris . I want to find the disk space (df -k) for the Unix box and the data has to be sent to an email id. Can u please find me a code that checks the disk space 6 times a day, loads the data into an excel sheet and sends to an email id. Can u also tell me how to... (2 Replies)
Discussion started by: sridharnr
2 Replies

6. SCO

sco unix v/386 boot disk

anyone know where I can download or get a boot disk for sco unix v/386? I have an old PC running sco unix v/386 3.2. I dont have an install or boot disk. I need to reset the root password. I have looked all over the internet and cannot find it anywhere. any help would be greatly appreciated.... (5 Replies)
Discussion started by: format
5 Replies

7. SCO

adding hard disk from SCO OpSer in SCO 5.06

Hi! Sorry, but I am'not spesialist in SCO OpenServer. I need to add hard disk from SCO Open Server ( "a") in my SCO OpenServer 5.6. I need data from "a". When I added, I see only swap disk, and didn't see root file system. I need to add IDE and SCSI Please, help me. How right to add disk?... (0 Replies)
Discussion started by: fedir
0 Replies

8. Shell Programming and Scripting

IInd Hard Disk Mounting Problem on 1st HDD On SCO UNIX Open Server

Hi Engg. ! :mad: I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
Discussion started by: Niraj Gopal Sha
0 Replies

9. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies
Login or Register to Ask a Question