其 readAttributes() 方法返回一个包含文件存储的整个空间、未分配空间、以及已使用空间细节的 FileStoreSpaceAttributes 实例。
Its readAttributes() method returns a FileStoreSpaceAttributes instance containing details of the total space, the unallocated space, and the usable space on the file store.
如清单6所示,df命令为您显示每个可用卷上已使用的块的总数,以及空闲空间的百分比。
As shown in Listing 6, the df command shows you the total number of blocks used on each available volume and the percentage of free space.
capacity 列提供了总大小中已使用的磁盘空间所占的百分比。
The capacity column gives a percentage calculation of how much disk space out of the total size has actually been used.
应用推荐