Sponsored Content
Full Discussion: bdf error
Top Forums Shell Programming and Scripting bdf error Post 302422206 by C|KiLLeR|S on Monday 17th of May 2010 07:21:07 PM
Old 05-17-2010
i don't find the bdf command in linux Smilie
is there another way to do the same output using df but in unix, so in that way instead use bdf will will use df

in linux with df work the same as in unix with bdf
linux:
oracle@etlx1103.eu.pg.com:SID=dummy101> df | grep /var/opt/vgdb
34999040 11750648 21470524 36% /var/opt/vgdb01/u01
34999040 7345064 25876108 23% /var/opt/vgdb02/u01

unix with bdf:
[bl1529@bdhp4516:/home/bl1529]
$ bdf | grep /var/opt/vgvd
220200960 28506320 190197200 13% /var/opt/vgvd02/u01
220200960 17444360 201264120 8% /var/opt/vgvd01/u01

I need the same output using the same command in both, lunix and unix.... does someone knows if there a way to do that :$
 

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. Shell Programming and Scripting

bdf script not working !!

Hi, I have written a funtion which taken bdf output and put's in a file. The idea is to grep a areas which greater then 80% and echo the same on the system. However the script I have written fails with the error :- + awk $0 !~ /^F/ + awk {print $5"\t" $6} + sed s/%// + 1> /tmp/bdflist}... (3 Replies)
Discussion started by: kpatel786
3 Replies

4. Shell Programming and Scripting

Formatting bdf output

Hi All. Using /usr/bin/ksh on a HP-UX B.11.23 ia64 system. Executing the following ... ` bdf -t vfxs | grep "/" ` The output comes out like (in part) ... /dev/vg00/lvol3 516096 229448 284480 45% / /dev/vg00/lvol1 516096 211200 302560 41% /stand /dev/vg00/lvol8 ... (5 Replies)
Discussion started by: Cameron
5 Replies

5. UNIX for Advanced & Expert Users

bdf question

Hi all i am working on script which uses "bdf" output to create excel sheet now when i check "Total" "Used" & "Available" i found that except root everywhere used + available != total here is example : part from bdf output : filesystem-total-used-available-%used-Mounted on ... (4 Replies)
Discussion started by: zedex
4 Replies

6. 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

7. 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

8. Shell Programming and Scripting

Problem with a BDF script...

Hi, I'm trying to use an old script I found of the internet a while back, I forget where its from. Its supposed to convert the bdf function and display filesystem size in MB's and line it up however it never worked... Here is the error: And here is the code: #!/usr/bin/sh echo... (3 Replies)
Discussion started by: zixzix01
3 Replies

9. 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

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
m2ps(1) 						      General Commands Manual							   m2ps(1)

NAME
m2ps - Converts text in Mule internal code to PostScript format SYNOPSIS
m2ps [options] <infile> outfile OPTIONS
Uses the specified file as a header for PostScript output. The default header file is /usr/i18n/mule/lib/mule/$VERSION/etc/m2ps.ps. Spec- ifies the resolution of the output device. The default value is 300. Specifies FontScale in points. The default value is 10. Specifies LinePitch in points. The default value is 14. Specifies the number of lines on a page. The default value is 56. Specifies TopMargin in points. The default value is 800. Specifies LeftMargin in points. The default value is 30. Indicates that your PostScript printer has limited memory. Indicates that your PostScript printer has a large memory. This is the default. Indicates A4 paper size. This is the default. Indicates US-LETTER paper size. Shows the version number of m2ps software. Uses the specified font server. Refer to the xfs(1X) referent page for information about font servers. Uses the specified path to find the bdf.tbl file that maps leading codes to their asso- ciated fonts. The default path is /usr/i18n/mule/lib/mule/$VERSION/etc/bdf.tbl. OPERANDS
Specifies the file containing text in mule *internal* code. Specifies the file containing the output PostScript program. DESCRIPTION
The m2ps command converts text encoded in Mule internal code (called *internal*) to a PostScript file that can be printed. To handle text not coded in *internal* code, you first have to convert the code to *internal*. You can use the coco command to perform this code conver- sion. Alternatively, you can run the any2ps program to do both jobs (convert the code to *internal* and also generate the PostScript file). Compaq's implementation of the m2ps command is derived from software supplied by the Free Software Foundation. However, the original code, written by Ken'ichi Handa of the Electrotechnical Laboratory in Japan, uses BDF files that are available for public domain fonts. BDF files are not available for fonts supplied with the Tru64 UNIX product. Therefore, the Compaq implementation of m2ps uses the X font server, along with a table (bdf.tbl), to obtain printing information. Each line of the bdf.tbl file maps a leading code value to a font name. A line contains 2 columns, separated by a colon (:), for the lead- ing code value and font name, respectively. You can modify the file if you want m2ps to use different fonts for one or more of the leading codes. FILES
PostScript header file Sample PostScript file created by m2ps. The original file is in mule's documentation directory. Table that maps leading codes to font names. SEE ALSO
Commands: any2ps(1), coco(1), mule(1), xfs(1X) m2ps(1)
All times are GMT -4. The time now is 11:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy