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)
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)
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)
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)
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)
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)
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)
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)
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)
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
LEARN ABOUT OSF1
m2ps
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)