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:
Quote:
./bdf.sh
Filesystem Mbytes used avail %used Mounted on
syntax error The source line is 2.
The error context is
{ printf("%s %10d %10d %10d %4s %s\n",$1,$2/1 >>>
<<<
awk: The statement cannot be correctly parsed.
The source line is 2.
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)
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
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)
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)
Hi all,
When I use BDF command on this particular server, it outputs mostly normal stuff. However, there is one directory it can't read at all.
Also, it doesn't seem to exist.
When I BDF my file system with a small panic script (it happens even if you use just the bdf command):
As you... (17 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 DEBIAN
johab2ucs2
JOHAB2UCS2(1) General Commands Manual JOHAB2UCS2(1)NAME
johab2ucs2 - Convert a Johab BDF font into GNU Unifont Hangul Syllables.
SYNOPSIS
johab2ucs2 < input_font.bdf > output_font.hex
DESCRIPTION
johab2ucs2 reads a Johab encoded BDF font (as used in Hanterm) from stdin and writes a GNU Unifont .hex file containing the Unicode Hangul
Syllables to stdout.
FILES
*.bdf font files
SEE ALSO bdfimplode(1), hex2bdf(1), hex2bdf-split(1), hex2sfd(1), hexbraille(1), hexdraw(1), hexmerge(1), unibmp2hex(1), unicoverage(1), unidup(1),
unihex2bmp(1), unipagecount(1), uniunmask(1)AUTHOR
johab2ucs2 was written in 1998 by Jungshik Shim for Roman Czyborra. Paul Hardy made some modifications and bug fixes in 2008.
LICENSE
johab2ucs2 was released by Roman Czyborra under the following terms (taken from http://czyborra.com):
"All of my works you find here are freeware. You may freely copy, use, quote, modify or redistribute them as long as you properly attribute
my contribution and have given a quick thought about whether Roman might perhaps be interested to read what you did with his stuff. Hori-
zontal rules don't apply."
BUGS
No known bugs exist.
2008 Jul 06 JOHAB2UCS2(1)