Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

df(1m) [v7 man page]

DF(1M)																	    DF(1M)

NAME
df - disk free SYNOPSIS
df [ filesystem ] ... DESCRIPTION
Df prints out the number of free blocks available on the filesystems. If no file system is specified, the free space on all of the nor- mally mounted file systems is printed. FILES
Default file systems vary with installation. SEE ALSO
icheck(1) DF(1M)

Check Out this Related Man Page

bdf(1M) 																   bdf(1M)

NAME
bdf - report number of free disk blocks (Berkeley version) SYNOPSIS
type [filesystem|file] ... ] DESCRIPTION
The command displays the amount of free disk space available either on the specified filesystem for example) or on the file system in which the specified file (such as is contained. If no file system is specified, the free space on all of the normally mounted file systems is printed. The reported numbers are in kilobytes. Options The command recognizes the following options: Display information regarding file system swapping. Report the number of used and free inodes. Display information for local file systems only (for example, HFS and CDFS file systems). Do not sync the file system data on the disk before reporting the usage. Note that the data reported by may not be up to date. Report on the file systems of a given type (for example, or RETURN VALUE
The command returns 0 on success (able to get status on all file systems), or returns 1 on failure (unable to get status on one or more file systems). WARNINGS
If file system names are too long, the output for a given entry is displayed on two lines. The command does not account for any disk space reserved for swap space, or used for the HFS boot block (8 KB, 1 per file system), HFS superblocks (8 KB each, 1 per disk cylinder), HFS cylinder group blocks (1 KB - 8 KB each, 1 per cylinder group), and inodes (currently 128 bytes reserved for each inode). Non-HFS file systems may have other items not accounted for by this command. AUTHOR
was developed by the University of California, Berkeley. FILES
Static information about the file systems. Mounted file system table. File system devices. SEE ALSO
df(1M), fstab(4), mnttab(4). bdf(1M)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

help with back up please

Can anyone please tell me how safe is the following backup script? Does it really backing up the WHOLE system or just part of it? I do that with the system running an oracle database. Will I be able to restore the system in case of a fault? <pre> Here is the output of 'df -k' ... (11 Replies)
Discussion started by: guest100
11 Replies

2. BSD

DF output via SSH

I'm trying to understand what is happening. The "setup". System running OpenBSD 3.3 Connect to the system using PuTTy or with the SSH.COM SSH client, issue a DF command. First line that comes back is: Filesystem 1K-blocks Used Avail Capacity Mounted on When I connect the the... (13 Replies)
Discussion started by: woodstone
13 Replies

3. Solaris

Making sense of df -k & format verify output

I'm posting the output from two disks on my Solaris machine. The first part is the output from using the format command and then using the verify option on each disk. The last part is the output from my df -k command. I'm trying to match the partition to the filesystem/mount point. I'm assuming... (13 Replies)
Discussion started by: gonzotonka
13 Replies

4. UNIX for Dummies Questions & Answers

Files still being created in /var/spool/mmdf/lock/home

Hi all I need help finding a process that is continuing to create files in the above area. There are three sub folder titled addr q.local and msg . I have already found a process called mmdf running and have used the kill command to stop this from running. I have also looked for sendmail or... (12 Replies)
Discussion started by: TeaMaker
12 Replies

5. HP-UX

To save the bdf information on all mounted directories

Hi, I want to write a script to save all the bdf information (disk usage) on all mounted directories in a file. Then I want to compare saved bdf info to current system within 5%. Please help me on this. I am using HP-UX. Actually there is data center move and I need to run the script before... (12 Replies)
Discussion started by: adityam
12 Replies

6. Shell Programming and Scripting

.PDF and .TXT to .XML. Is it possible?

Hi! I need to realize this task. In folder i have such files: name1.txt name1.pdf name2.txt name2.pdf etc... I want to scan this folder, match files with same name (name1.txt with name1.pdf, name2.txt with name2.pdf) and create files name1.xml and name2.xml, based on it. i.e: i want... (13 Replies)
Discussion started by: optik77
13 Replies

7. Shell Programming and Scripting

BDF Panic script...

I have another script which I found also on the net. I keep getting an error:confused:: Here is the script for it: {/usr/bin/bdf -l |awk '$0 !~ /^F/' |awk '{print $5"\t" $6}'| sed 's/'%'//' >/tmp/b dflist} panic () {while read percent dir; do if ] then ... (16 Replies)
Discussion started by: zixzix01
16 Replies

8. UNIX for Advanced & Expert Users

HP-UX: Problem viewing directory with BDF...

Hi all, When I use BDF command on this particular server, it outputs mostly normal stuff. However, there is one directory it can't read at all. Also, it doesn't seem to exist. When I BDF my file system with a small panic script (it happens even if you use just the bdf command): As you... (17 Replies)
Discussion started by: zixzix01
17 Replies

9. SCO

du and dfspace reporting

Hi, I am using SCO UNIX version 6.0.0 release 5. I am using du and df space to see the used space in the / partition. I am using du -k option to get count in 1024 k so that it directly makes kb. In dfspace I subtracted the used mb from total size mb which should be the used space and then... (40 Replies)
Discussion started by: dextergenious
40 Replies

10. Shell Programming and Scripting

[Solved] Pdf Printing in Solaris

HI All I need help related to Pdf printing in Solaris.as I print pdf file in solaris it print garbage.how can I print pdf correctly. need help asap. Regards (21 Replies)
Discussion started by: smazshah
21 Replies

11. Solaris

Printing pdf problem using pasta.cfg

hi folks I have issue in printing pdf while using ERP application, it's using pasta utility to print pdf. If i print from command line its successful while when ERP user give print command the printer doesnot print anything rather it gives error which is as follows ESP Ghostscript 815.01:... (12 Replies)
Discussion started by: smazshah
12 Replies

12. Shell Programming and Scripting

Bash script monitor directory and subdirectories for new pdfs

I need bash script that monitor folders for new pdf files and create xml file for rss feed with newest files on the list. I have some script, but it reports errors. #!/bin/bash SYSDIR="/var/www/html/Intranet" HTTPLINK="http://TYPE.IP.ADDRESS.HERE/pdfs" FEEDTITLE="Najnoviji dokumenti na... (20 Replies)
Discussion started by: markus1981
20 Replies

13. Shell Programming and Scripting

Downloading hdfs file to local UNIX through UNIX script

Hi All , I am very new to unix script.I am aware of unix commands but never put together in unix script level.If any one can suggest me technical guidance in the below scenario that will highly beneficial. Data have been already migrated from mainframe to Hadoop file system(HDFS).HDFS server... (15 Replies)
Discussion started by: STCET22
15 Replies

14. Shell Programming and Scripting

Df -h results in a loop

Hello everyone, I am doing a check of the disk space using df -h, I want to combine the result in break line; but the result after while/done is empty: # df -h Filesystem Size Used Avail Use% Mounted on rootfs 20G 14G 4.6G 75% / /dev/root 20G 14G 4.6G 75% /... (15 Replies)
Discussion started by: Abu Rayane
15 Replies

15. UNIX for Beginners Questions & Answers

Limitations of 'pdftotext' in Linux...

Guys: I have a customer using the 'pdftotext' utility under Linux. PDFs are received via email, converted to text, etc. and it has worked nicely for years. They received a PDF from a customer and the utility will not read it. The text file is created but it's either empty or has 1-2 bytes of... (23 Replies)
Discussion started by: kenlenard
23 Replies