You are on page 1of 1

MOBATCH PROCEDURE

To run the commands in a batch (all commands on all sites) use the MOBATCH procedure below
1. Create file in home folder on OSS with list of all Node Bs eg. sitesonair.txt
2. Create folder for results in home folder on OSS eg. mobatch
3. From Terminal window in OSS at OSS prompt, run command:
mobatch -o /home/ahguy/Clusters.txt 'lt all; alt; lh ru fui get vswr; lh ru fui get temp; rbs; lgaevs 12h'
/home/ahguy/Mobatch_c
BLUE part is list of RBSs
RED part is command list separated by semicolon. Should always start with lt all
GREEN part is output folder

The results will be stored in the results folder with a single file for every Node B
To create a single file with a summary of the VSWRs & ALARMS use the UNIX command grep command from the
OSS prompt (ahguy@mosseloss>)
grep 'vswr:' /home/ahguy/Mobatch_c/*.log > /home/ahguy/vswrvalue.txt
grep 'temp' /home/ahguy/Mobatch_10/*.log > /home/ahguy/tempnw.txt
grep ' M ' /home/ahguy/mobatch/*.log > /home/ahguy/Major_Alarms.txt
grep ' C ' /home/ahguy/mobatch/*.log > /home/ahguy/Critical_Alarms.txt
grep ' m ' /home/ahguy/mobatch/*.log > /home/ahguy/ Minor_Alarms.txt
BLUE part is the common expression in the line to search for
RED part is the location of the input files
GREEN part is output folder and file

mobatch -o /home/ahguy/277sites.txt 'lt all; get . ^localCellId' /home/ahguy/Mobatch_8


grep 'localCellId' /home/ahguy/Mobatch_8/*.log > /home/ahguy/CellID.txt

You might also like