Skip to content

DukeNuoDB/NuoDB-Support-Tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

SUMMARY

cheetah.py was created to help facilitate the parsing of Agent and Agent Error logs. Rather than searching piecemeal through the log files cheetah should privide you with compartmentalized lists of important items.

Why cheetah? Because it's faster than parsing the log files manually.

DETAILS

  • Tested using Python 2.7.5
  • Collections module
  • Was created with the intention of making Agent and Agent_Error log files easier to parse.

USAGE:

python cheetah.py <filename>

Sample OUTPUT:

======================================
==Printing Analysis...
======================================

======================================
==Total Message Counts
======================================
Total Assertions: 3
Total Errors: 	  1
Total Failures:   7
Total Info: 	 65
Total Warnings:  31
Total Local Node:  24
Total Remote Node: 9

======================================
==Message Details
======================================
ASSERTIONS:
#Lists all ASSERTIONS, in order.

ERRORS:
#Lists all ERROR messages.

FAILURES:
#Lists all FAILURE messages.

INFO:
#Lists the last 10 INFO messages 

WARNING:
#Lists the last 10 WARNING messages.

NODELIST:
#Lists all of the Local and Remot node messages, in order. Useful for creating a timeline of when TEs and SMs joined and left the database.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages