Hp

[HP-UNIX] bdfコマンドの概要



Bdf Command Summary



効果(1)bdfコマンド

lijiaman$[/home/oracle]bdf Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 10485760 225552 10180096 2% / /dev/vg00/lvol1 4194304 390200 3774448 9% /stand /dev/vg00/lvol8 31457280 2128008 29102256 7% /var /dev/vg00/lvol7 10485760 3205264 7223672 31% /usr /dev/vg00/lvol4 10485760 6576408 3879176 63% /tmp /dev/vg00/lvol11 41943040 23159923 17611782 57% /oracle /dev/vg00/lvol6 12582912 7165312 5376864 57% /opt /dev/vg00/lvol5 20971520 75992 20732400 0% /home /dev/vg00/lvol10 41943040 14004604 26192355 35% /grid

以下のbdf使用法を表示します。



fabdb1$[/home/oracle]man bdf bdf(1M) bdf(1M) ## bdf ## NAME bdf - report number of free disk blocks (Berkeley version) # report blocks of disk space remaining SYNOPSIS # Profile /usr/bin/bdf [-b] [-i] [-l] [-s] [-t type | [filesystem|file] ... ] bdf [-b] [-i] [-l] [-s] [-t type | [filesystem | file]… ] DESCRIPTION # Description The bdf command displays the amount of free disk space available bdf command shows the amount of disk space in the specified file system that can be used, if either on the specified filesystem (/ dev / dsk / c0d0s0, for example) or a file system is not specified, then a normal print all mounted file system that can be utilized on the file system in which the specified file (such as $ HOME), is space, printing units are kilobytes (kilobits, kb) . Contained If no file system is specified, the free space on all of NOTE: 1Gb = 1000 000kb the normally mounted file systems is printed. The reported numbers are in kilobytes. Options Options # The bdf command recognizes the following options: bdf command has the following options: -b Display information regarding file system -b demonstrate the exchange of information about the file system swapping. Size -i Report the number of used and free inodes. -I impressions available free space -l Display information for local file systems only -l only shows information in the local file system (for example, HFS and CDFS file systems). -s Do not sync the file system data on the disk before the file system is not synchronized report uses data -s, data may get attention before reporting the usage. Note that the data is not current reported by bdf may not be up to date. -t type Report on the file systems of a given type (for example, nfs or hfs). RETURN VALUE # return value The bdf command returns 0 on success (able to get status on all file returns 0 on success, failure to return 1 systems), or returns 1 on failure (unable to get status on one or more file systems). WARNINGS # warning If file system names are too long, the output for a given entry is if the file system name is too long, the display is divided into two lines of output. displayed on two lines. bdf command does not calculate disk space reserved for the exchange of ... The bdf command does not account for any disk space reserved for swap Summary: bdf command to view the space with other commands differ in the method of calculating the space, space, or used for the HFS boot block (8 KB, 1 per file system), the results obtained will be the command HFS some discrepancies. 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 bdf was developed by the University of California, Berkeley. Hewlett-Packard Company - 1 - HP-UX 11i Version 3 Feb 2007 bdf(1M) bdf(1M) FILES /etc/fstab Static information about the file systems. /etc/mnttab Mounted file system table. /dev/dsk/* File system devices. SEE ALSO df(1M), fstab(4), mnttab(4).