📄 df.1
字号:
.\" SCCSID: @(#)df.1 8.2 2/18/91.TH df 1.SH Namedf \- display free and used disk space.SH Syntax.B df[\fB\-i\fR] [\fB\-l\fR] [\fB\-n\fR] [\|\fIfilesystem\fR...\|] [\|\fIfile\fR...\|].SH Description.NXA "df command" "dumpfs command".NXR "disk" "displaying free space".NXR "disk" "displaying used space"The.PN dfcommand displays the amount of disk spaceavailable on the specified.I file system,for example,.PN /dev/ra0a .It also displays the amount of available disk spaceon the file system in which the specified.I fileis contained,for example,.PN $HOME .If a device is given that has no file systemsmounted on it,.PN dfdisplays the information for the root file system.Without any arguments or options,.PN dfdisplaysshows all mounted filesystems, including those manuallymounted without use of the .PN /etc/fstab file.The numbers are reported in kilobytes. .PPUnless the\fB\-n\fRoption is specified,.PN dfupdates the statistics stored in memory for the file systemspecified,before it returns the information..SH Options.IP \fB\-i\fR 5Also report the number of used and free inodes..IP \fB\-l\fRReports on locally mounted disks only..IP \fB\-n\fRDo not update the file system statistics stored in memory.Instead,return whatever statistics are stored in memory.This prevents.PN dffrom hanging in the event that a server containing the specified file systemis down..SH RestrictionsYou cannot use the .PN dfcommand to find free space on an unmounted file system using theblock or character special device name.Instead,use the.PN dumpfscommand..SH Examples.EX 0% dfFilesystem Total kbytes kbytes %node kbytes used free used Mounted on/dev/ra1a 7429 2085 4602 31% /tmp/dev/ra0e 30519 14817 12651 54% /usr/spool/dev/ra0h 313233 122858 159052 44% /usr/staff1.EE.PPThe total disk space is the total space that was createdduring the making of the file system.The addition of the used space,the free space and a percentage of reserved spaceis the total space.The default value for the reserved space is 10%..SH Files.TP 12.PN /etc/fstabList of mounted file systems.SH See Alsogetmnt(2), fstab(5), dumpfs(8), icheck(8), mkfs(8), newfs(8), quot(8)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -