![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| test | skooly5 | UNIX for Dummies Questions & Answers | 1 | 04-07-2008 06:38 AM |
| TAHI Test Suite 3.0.13 (IPv6 Conformance Test Tool branch) | iBot | Software Releases - RSS News | 0 | 04-06-2008 09:20 AM |
| test and .test in same directory | vikashtulsiyan | SUN Solaris | 14 | 12-27-2007 10:25 PM |
| Test : Which OS are you ? | sysgate | What's on Your Mind? | 8 | 08-29-2007 03:36 PM |
| Keithley Introduces Linux-Based RF Parametric Test Systems - Test and Measurement.com | iBot | UNIX and Linux RSS News | 0 | 07-23-2007 07:30 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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
__________________
Success !! |
| Forum Sponsor | ||
|
|
|
|||
|
Thank you for the suggestion. However I do not know Perl, sed, or awk. Is there a way I can do this using Unix commands? I tryed building a script that does a simple BDF and grep for 90%. I figured I would get my logic down first than expand the condition testing. I havn't been to successful so far. I have just recently become aquainted with Unix. My back ground is NT/2000 and HP MPE.
.....svp
__________________
Success !! |
|
||||
|
You will need some sort of utility to transform the 'awkward' bdf output into an usable format. Using awk would be easiest, do some reading on the awk command. It is not that hard.
__________________
Patrick Van der Veken - UNIX consultant (c) 2001 - 2001 http://www.baanboard.com - http://www.ux-core.com 'True strength lies in gentleness' - Irish proverb |
|
||||
|
Perl, sed, or awk are all either UNIX command line utilities or can be used in command line mode. So, they are all UNIX commands. What we described is how things are done in the UNIX enviroment. UNIX is not point and click (which translated to slow and buggy), it is crisp and robust.
You must learn UNIX command line utilities to perform UNIX system administration (or hire people who do). |