Hi Expert,
Could you please advise on the best way to compare kget outputs from two different sites?
Thank you!
Save the results as a .txt or .log file, then open them with UltraEdit. It includes a feature called UltraCompare, which allows you to compare files either module by module (MO to MO) or line by line.
Here’s a cleaned-up and professional rewrite of your instructions:
Step-by-Step Guide to Compare KGET Logs Between Two Sites
Collect KGET logs for both sites:
l+ site1namekget.log
KGET ALL
l-
l+ site2namekget.log
KGET ALL
l-
Log in to the same ENM using offline MoShell, local MoShell, or AMOS.
Once logged in, run the following command to compare the two logs:
DIFFO site1namekget.log site2namekget.log
Wait a few minutes for the comparison to complete. When finished, two .mos files will be generated.
Use the cat command to view the differences:
cat filename.mos
Notes:
site1 and site2..mos file may be empty.site2 vs site1) depending on your requirement.Let me know if you’d like this formatted for documentation, training, or internal sharing.
Use notepad++
Look for compare.
If it is not there, here how to install https://youtu.be/IbWttV69DFs?si=bFG014gWijseW1RD
UltraEdit and Notepad++ are very similar.
In Ericsson, we use DIFFO to generate .mos files that capture all configuration changes before and after an operation.
Alternatively, it’s used to compare a site with a reference site to ensure that all parameter values are properly aligned.