Sponsored Content
Full Discussion: bdf question
Top Forums UNIX for Advanced & Expert Users bdf question Post 302285707 by jim mcnamara on Monday 9th of February 2009 01:50:31 PM
Old 02-09-2009
From the bdf man page
Code:
     The bdf command does not account for any disk space reserved for swap
      space, or used for the HFS boot block (8 KB, 1 per file system), HFS
      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.

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

BDF test for > 90%

I am trying to write a script that will allow me to do a bdf then do a test for a percentage that is 90% or greater. If the test is true then i want to send a message to myself and one other person. Any suggestions ? ? ? Thanks. ....svp (6 Replies)
Discussion started by: svp4444
6 Replies

2. HP-UX

df and bdf discrepencies

I've recently had some space problems on one of our old HP9000 machines. I archived/moved/compressed/trashed some stuff to free up some space on one rather large (and important) logical volume. As one would expect, when `df -b` is executed some space is shown as free: /opt ... (2 Replies)
Discussion started by: sam_pointer
2 Replies

3. AIX

bdf -h in AIX server

Previously i was using bdf -h in Solaris server. Now i have moved to AIX server and i would like to know equialent to "bdf -h" in AIX server. Please help me. Thanks in Advance. I am expecting output as below Filesystem size used avail capacity Mounted on /dev/vx/dsk/vg04/t1... (3 Replies)
Discussion started by: Bala37
3 Replies

4. Shell Programming and Scripting

bdf error

I have this line in a sh script: bdf | grep /var/opt/vgdb | tr -s " " | cut -f4,6 -d" " | awk '{print $2" "$1}' > vgdb_free_space.txt if I run that line in the shell it works fine but when I ran the script got this error: add_database_files.sh: line 83: bdf: command not found also I tried... (4 Replies)
Discussion started by: C|KiLLeR|S
4 Replies

5. Shell Programming and Scripting

Bdf output

Here is my bdf output #bdf Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 2097152 217112 1865424 10% / /dev/vg00/lvol1 1835008 329040 1494288 18% /stand /dev/vg00/lvol7 10485760 7864080 2601240 75% /var /dev/vg00/lvol8 8454144 486597 7469647 ... (5 Replies)
Discussion started by: indrajit_renu
5 Replies

6. Shell Programming and Scripting

Formatting BDF output

Hello people. First of all I googled my problem and even found answers in this forum. Unfortunatelly my problem is not solved. When the lenght of the filesystem is too big the output of bdf wraps into another line. e.g.: Filesystem kbytes used avail %used Mounted on... (5 Replies)
Discussion started by: drbiloukos
5 Replies

7. Shell Programming and Scripting

BDF Panic script...

I have another script which I found also on the net. I keep getting an error:confused:: Here is the script for it: {/usr/bin/bdf -l |awk '$0 !~ /^F/' |awk '{print $5"\t" $6}'| sed 's/'%'//' >/tmp/b dflist} panic () {while read percent dir; do if ] then ... (16 Replies)
Discussion started by: zixzix01
16 Replies

8. HP-UX

bdf hangs

hi, bdf command hangs but before it, it lists all the fstab content, so i cannot find the reason... could anybody give me any clue?? thanks a lot for your attention. regards Pablo i attach syslog Jan 14 16:30:00 sv23 vmunix: hp_dlpi_wput:Received an unrecognized primitive: 101d... (7 Replies)
Discussion started by: pabloli150
7 Replies

9. Shell Programming and Scripting

Using the output of bdf in script

Hello all, First I have an old HP-UX box(11.21) for which I need to implement file-system utilization monitoring. I choosed to use bdf and a simple for loop. However sometimes the output of bdf is as this one(this is actually form linux but the idea is the same) Filesystem ... (4 Replies)
Discussion started by: click
4 Replies

10. HP-UX

Bdf in HP-UX

Hi guys, I have to make an output of several databases we've got running on our system with the command bdf. This has to be done every 3 months. I want to put it in an scriptfile and trigger it in crontab. In the output it must display the differences in diskspace between these three monts. Any... (3 Replies)
Discussion started by: djmental
3 Replies
dcopy(1M)																 dcopy(1M)

NAME
dcopy - copy HFS file system with compaction SYNOPSIS
fsize[source_fs destination_fs DESCRIPTION
The command copies an existing HFS file system (source_fs) to a new HFS file system (destination_fs), appropriately sized to hold the reor- ganized results. For best results, the source file system should be a raw device, and the destination file system should be a block device. Always run on unmounted file systems. (In the case of the root file system, copy it to a new minidisk.) If no options are specified, copies files from source_fs, compressing directories by removing vacant entries and spacing consecutive blocks in a file by the optimal rotational gap. If options such as or are specified, the destination file system structure will be different from that of the source file system. makes the destination file system identical to the source file system and preserves the pack and volume labels. Thus, to compress a file system without moving it, use to copy the files to another file system and the command to copy the file back (see dd(1)). Directory compression is accomplished by running on the primary copy of the file system and allowing the modified directories to propagate to the other copies of the file system in the normal manner. Options recognizes the following options: Move subdirectories to the beginning of directories. Specify the file system size (fsize) and inode-list size (isize) in blocks. If this option is not specified, the source file-system value is used. Specify the HFS file system type. The type of a file system can be determined with the command (see fstyp(1M)). See Supply device information for creating the best organization of blocks in a file. cyl is the number of block per cylinder; skip is the number of blocks to skip. Report size of source and destination file system. Echo the completed command line, but performs no other actions. The command line is generated by incorporating the user-specified options and other information derived from This option allows you to verify the command line. EXAMPLES
can be executed with or without options. If no options are specified as in this example, the source and destination file systems are iden- tical. Any differences between the two file systems lie only in the available disk space. If options are specified, expect a major difference between the source and destination file system structure: WARNINGS
produces invalid results if run on a mounted file system. The figures specified in option arguments cannot be smaller than corresponding figures in the source file system. DEPENDENCIES
only operates on HFS file systems. AUTHOR
was developed by HP. SEE ALSO
dd(1), fstyp(1M), disk(7). STANDARDS CONFORMANCE
dcopy(1M)
All times are GMT -4. The time now is 05:24 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy