千家信息网

怎样进行HP Unix bdf输出显示换行

发表于:2026-11-01 作者:千家信息网编辑
千家信息网最后更新 2026年11月01日,怎样进行HP Unix bdf输出显示换行,针对这个问题,这篇文章详细介绍了相对应的分析和解答,希望可以帮助更多想解决这个问题的小伙伴找到更简单易行的方法。HP Unix bdf显示不在同一行,一行记
千家信息网最后更新 2026年11月01日怎样进行HP Unix bdf输出显示换行

怎样进行HP Unix bdf输出显示换行,针对这个问题,这篇文章详细介绍了相对应的分析和解答,希望可以帮助更多想解决这个问题的小伙伴找到更简单易行的方法。

HP Unix bdf显示不在同一行,一行记录分成两行显示

[root->/]# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol4 35848192 27096088 8683928 76% /
/dev/vg00/lvol1 1835008 636952 1188752 35% /stand
/dev/vg00/lvxxxx02
20971520 71784 19593510 0% /xxxx02
/dev/vg00/lvarc
10485760 20062 9811599 0% /arc
/dev/vg00/lvoracle
20971520 17393817 3354134 84% /oracle


使用df -P 使数据现在在同一行,但是显示单位不太一样,导致和bdf结果不太一样。baidu一下
[root->/]# df -P
Filesystem 512-blocks Used Available Capacity Mounted on
/dev/vg00/lvoracle 41495904 34787662 6708242 84% /oracle
/dev/vg00/lvarc 19663322 40124 19623198 1% /arc
/dev/vg00/lvxxxx 39330588 143568 39187020 1% /xxxx
/dev/vg00/lvol1 3651408 1273904 2377504 35% /stand
/dev/vg00/lvol4 71560032 54192128 17367904 76% /


加上k参数,df -kP,结果和bdf比较接近,还有有些数据差入
[root->/]# df -kP
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/vg00/lvol4 35780016 27096120 8683896 76% /
/dev/vg00/lvol1 1825704 636952 1188752 35% /stand
/dev/vg00/lvoracle 20747973 17394179 3353794 84% /oracle
/dev/vg00/lvarc 9831661 20062 9811599 1% /arc
/dev/vg00/lvxxxx 19665294 71784 19593510 1% /xxxx


摘录网上的信息:
Hp-UX中bdf和df的区别
HP-UX measures space in 1024-byte blocks in bdf, but 512-byte blocks in df.
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.

关于怎样进行HP Unix bdf输出显示换行问题的解答就分享到这里了,希望以上内容可以对大家有一定的帮助,如果你还有很多疑惑没有解开,可以关注行业资讯频道了解更多相关知识。

一行 问题 输出 数据 更多 结果 帮助 解答 易行 简单易行 信息 内容 单位 参数 小伙 小伙伴 方法 知识 篇文章 行业 数据库的安全要保护哪些东西 数据库安全各自的含义是什么 生产安全数据库录入 数据库的安全性及管理 数据库安全策略包含哪些 海淀数据库安全审计系统 建立农村房屋安全信息数据库 易用的数据库客户端支持安全管理 连接数据库失败ssl安全错误 数据库的锁怎样保障安全 中智农互联网科技 广州百单互联网科技有限公司 互联网扶贫科技 金融科技创新监管互联网金融 互联网 科技 互联网金融 金融科技 华中科技大学互联网 碳银互联网科技有限公司 济南华为互联网科技产业总部基地 湖北码尼互联网科技有限公司电话 知域互联网科技有限公司大骗子 互联网金融科技名词解释 2021互联网科技公司排名 厦门江牛科技互联网 陕西九四连强互联网科技有限公司 杭州科技互联网公司有哪些 青岛互联网科技园 北京瑞云互联网科技有限公司 互联网的黑科技实验室 现代科技的标志之一的互联网 互联网最新的科技有限公司 互联网科技视频 猫创互联网科技 掌上梦互联网科技 济南和联互联网科技有限公司 佳云科技和互联网广告 互联网还是高科技吗 兰石爱特工业互联网科技分公司 好易买互联网科技 六子台科技互联网展会
0