bdf

http://topmanopensource.iteye.com/blog/965847

HP-UX measures space in [color=red]1024-byte[/color] blocks in [color=red]bdf[/color], but [color=green]512-byte[/color] blocks in [color=green]df[/color]. The df command is a standard UNIX report of free disc space. bdf is a nicer Berkeley form of df supplied with HP-UX; it shows free and used disc space on each file system (it does not include Swap Space and other overhead disc space). Here is some sample bdf output:

Filesystem kbytes used avail capacity mounted on
/dev/vg00/lvol1 104097 66657 27030 71% /
/dev/vg00/lvol5 79449 21 71483 0% /tmp
/dev/vg00/lvol4 99385 64732 24714 72% /users
/dev/vg00/lvol3 496865 418420 28758 94% /usr
dumbo.robelle.com:/sys/apps 627120 455712 171408 73% /pcserver/sys/apps
/dev/dsk/c3d0s2 546660 546660 0 100% /cdrom1
/dev/dsk/c4d0s2 321402 321402 0 100% /cdrom2


The /vg00 file systems are logical subdivisions of the hard drive allocated to different subdirectories under the root directory. The idea is similar to account and group limits in MPE. The dumbo file system is a LAN PC server, mounted as a Network File System on UNIX. And the last two are CD-ROM drives with the HP-UX and MPE manuals mounted. The capacity column is sort of equivalent to MPE/iX's max Perm percent, in that 100 percent doesn't mean that the disc is full. HP-UX generally makes the disc look 100 percent full when it is actually about 90 percent full. The remaining 10 percent is given only to superuser.
bdf reports kilobytes free per HP-UX file system. See /etc/checklist/ for all file systems known to your HP-UX system and /etc/mnttab/ for all file systems which are mounted. Disc space is managed as "device-files"; see /dev/dsk/* for all disc devices. When you run out of disc space, the error you see is "No space left on device." To find out who is using the disc space on HP-UX, try du -s /users/*. This shows how many 512-byte blocks are used by each subdirectory under /users.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值