In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to do HP Unix bdf output display line wrapping, in view of this problem, this article introduces the corresponding analysis and solutions in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
The HP Unix bdf display is not on the same line, and a row of records is divided into two lines
[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 / xxxx02
/ dev/vg00/lvarc
10485760 20062 9811599 / arc
/ dev/vg00/lvoracle
20971520 17393817 3354134 84% / oracle
Use df-P so that the data is now in the same row, but the display units are not quite the same, resulting in different results from bdf. Baidu for a moment
[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%
Add the k parameter, df-kP, and the result is close to bdf, and there are some data differences.
[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
Excerpts from information on the Internet:
The difference between bdf and df in Hp-UX
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 / 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 / cdrom1
/ dev/dsk/c4d0s2 321402 321402 0 / 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.
This is the answer to the question about how to perform HP Unix bdf output display line wrapping. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.