1df(1B) SunOS/BSD Compatibility Package Commands df(1B)
2
3
4
6 df - display status of disk space on file systems
7
9 /usr/ucb/df [-a] [-i] [-t type] [filesystem...]
10 [filename...]
11
12
14 The df utility displays the amount of disk space occupied by currently
15 mounted file systems, the amount of used and available space, and how
16 much of the file system's total capacity has been used.
17
18
19 If arguments to df are path names, df produces a report on the file
20 system containing the named file. Thus `df .' shows the amount of
21 space on the file system containing the current directory.
22
24 The following options are supported:
25
26 -a Report on all filesystems including the uninteresting ones
27 which have zero total blocks (that is, auto-mounter).
28
29
30 -i Report the number of used and free inodes. Print ` * ' if no
31 information is available.
32
33
34 -t type Report on filesystems of a given type (for example, nfs or
35 ufs).
36
37
39 Example 1 Using df
40
41
42 A sample of output for df looks like:
43
44
45 example% df
46 Filesystem kbytes used avail capacity Mounted on
47 sparky:/ 7445 4714 1986 70% /
48 sparky:/usr 42277 35291 2758 93% /usr
49
50
51
52
53 Note that used+avail is less than the amount of space in the file sys‐
54 tem (kbytes); this is because the system reserves a fraction of the
55 space in the file system to allow its file system allocation routines
56 to work well. The amount reserved is typically about 10%; this can be
57 adjusted using tunefs (see tunefs(1M)). When all the space on a file
58 system except for this reserve is in use, only the super-user can allo‐
59 cate new files and data blocks to existing files. When a file system is
60 overallocated in this way, df can report that the file system is more
61 than 100% utilized.
62
63
65 /etc/mnttab List of file systems currently mounted
66
67
68 /etc/vfstab List of default parameters for each file system
69
70
72 See attributes(5) for descriptions of the following attributes:
73
74
75
76
77 ┌─────────────────────────────┬─────────────────────────────┐
78 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
79 ├─────────────────────────────┼─────────────────────────────┤
80 │Availability │SUNWscpu │
81 └─────────────────────────────┴─────────────────────────────┘
82
84 du(1), quot(1M), tunefs(1M), mnttab(4), attributes(5)
85
86
87
88SunOS 5.11 14 Sep 1992 df(1B)