|
|
|
|
google site
|
|||||||
| Forums | Register | Blog | Man Pages | Forum Rules | Links | Albums | FAQ | Users | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||
|
Extracting information from a template
I have a template that I usually use to generate stats on an hourly basis for a number of cell sites altogether. I would like to be able to write a script that would go to the template and extract the information for any single site at any time during the day. For example, let's say that my database has 24 sites (named a to z), I only want to retrieve the stats for site "m" at 11:23 today. How do I accomplish that?
Thanks for the help!! |
| Sponsored Links |
|
|
|
|||
|
Quote:
|
|
|||
|
Extraction info from a template
That should help!!! See below:
%set r_totaldrop 0 %set r_totalassgn 0 %set r_totalseiz 0 %set r_droprate 0 %set r_accessrate 0 %set nc 0 # Number of CDMA cell site faces %set num_lines 0 %set need_header 1 "Cell PAF OrigSeiz OrigAssgn TermSeiz OrigAssgn CSupF cSHO %Comp HH %Comp HA % Comp 3GPkCE Erlang SecErlang 3GDrop AcsAvg Peak PgAvg Peak FOVF %Hour ROVF %Hour Unl CellPPBlk CellActFail CellTCCCF CSHTHoff MRFERII F1 F2 F3 F4\n" %for c = a to z %set r_ppblk 0 %set r_actfail 0 %set r_tccf 0 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| create users from template | rijeshpp | Shell Programming and Scripting | 0 | 10-31-2007 10:29 AM |
| Extracting information from text fields. | spindoctor | UNIX for Dummies Questions & Answers | 24 | 06-09-2007 02:17 PM |
| vi calling template | Euler04 | UNIX for Dummies Questions & Answers | 1 | 11-22-2005 10:06 AM |
| About template constraints | sarwan | Programming | 0 | 11-21-2005 04:11 AM |
| substitution of variable in template | supercbw | Shell Programming and Scripting | 1 | 04-11-2002 01:58 PM |