Sponsored Content
Full Discussion: SCO Unix - Disk Space
Top Forums UNIX for Dummies Questions & Answers SCO Unix - Disk Space Post 302080192 by matrixmadhan on Monday 17th of July 2006 05:00:40 AM
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.
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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

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

7. 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

8. 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

9. 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
df_hfs(1M)																df_hfs(1M)

NAME
df_hfs: df - report number of free CDFS, HFS, or NFS file system disk blocks SYNOPSIS
FStype] specific_options] [special|directory]... DESCRIPTION
The command displays the number of free 512-byte blocks and free inodes available for file systems by examining the counts kept in the superblock or superblocks. If a special or a directory is not specified, the free space on all mounted file systems is displayed. If the arguments to are path names, reports on the file systems containing the named files. If the argument to is a special of an unmounted file system, the free space in the unmounted file system is displayed. Options recognizes the following options: Report only the number of kilobytes (KB) free. Report the total number of blocks allocated for swapping to the file system as well as the number of blocks free for swapping to the file system. This option is supported on HFS file systems only. Report the number of files free. Report only the actual count of the blocks in the free list (free inodes are not reported). When this option is specified, reports on raw devices. Report only on the FStype file system type (see fstyp(1M)). For the purposes of this manual entry, FStype can be one of and for the CDFS, HFS, and NFS file systems, respectively. Report the entire structure described in statvfs(2). Report the total number of inodes, the number of free inodes, number of used inodes, and the percentage of inodes in use. Report the allocation in kilobytes (KB). Report on local file systems only. Report the file system name. If used with no other options, display a list of mounted file system types. Specify options specific to the HFS file system type. specific_options is a comma-separated list of suboptions. The available suboption is: Report the number of used and free inodes. Report the total allocated block figures and the number of free blocks. Report the percentage of blocks used, the number of blocks used, and the number of blocks free. This option cannot be used with other options. Echo the completed command line, but perform no other action. The command line is generated by incorporating the user-specified options and other information derived from This option allows the user to verify the command line. When is used on an HFS file system, the file space reported is the space available to the ordinary user, and does not include the reserved file space specified by Unreported reserved blocks are available only to users who have appropriate privileges. See tunefs(1M) for information about When is used on NFS file systems, the number of inodes is displayed as -1 . This is due to superuser access restrictions over NFS. EXAMPLES
Report the number of free disk blocks for all mounted file systems: Report the number of free disk blocks for all mounted HFS file systems: Report the number of free files for all mounted NFS file systems: Report the total allocated block figures and the number of free blocks, for all mounted file systems: Report the total allocated block figures and the number of free blocks, for the file system mounted as /usr: WARNINGS
does not account for: o Disk space reserved for swap space, o Space used for the HFS boot block (8K bytes, 1 per file system), o HFS superblocks (8K bytes each, 1 per disk cylinder), o HFS cylinder group blocks (1K-8K bytes each, 1 per cylinder group), o Inodes (currently 128 bytes reserved for each inode). Non-HFS file systems may have other items that this command does not account for. The option, from prior releases, has been replaced by the option. FILES
File system devices. Static information about the file systems Mounted file system table SEE ALSO
du(1), df(1M), fsck(1M), fstab(4), fstyp(1M), statvfs(2), mnttab(4). STANDARDS CONFORMANCE
df_hfs(1M)
All times are GMT -4. The time now is 02:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy