12-22-2011
Parse Log & Create Flow Diagram - Ideas/Tools
Hi,
I would like to develop a script which parses the log file and generates a flow diagram ( graphical display ).
We have an application, for understanding the sequence of functions call made, we have an debug line at "ENTRY/EXIT" of function. I have a small log parsing script which grep the pattern and prints the function entry/exit points by using TAB, but understanding the flow with that output is not so trivial.
I wish I can plot the result to a flow diagram, like a UML Sequence diagram.
Appreciate if we could provide some directions on this.
Let me know if am unclear with my query.
Thanks,
Nagarajan G
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
Hope all the expert can help me in this situation.
Let say I have one file with multiple record like below:
NAME=FRAGMENT
LANGUAGE=1
DIALECT=0
GENDER=NONE
FILE=TEST1
DIRECTORY=D:/DETAILS/1/0/test1.txt
END
NAME=FRAGMENT
LANGUAGE=1
DIALECT=0
GENDER=NONE (13 Replies)
Discussion started by: shirleyeow
13 Replies
2. Shell Programming and Scripting
Hello everybody,
I need some help here to create a script to parse a log file. Here is a sample of the log file :
0x42258940 (Debug) Cache SUMMARY attrs now/668 min/668 max/668.
0x42258940 (Debug) RSVD SUMMARY reserved space max requested/128 MB accounted now/0 MB
0x42258940 (Debug)... (12 Replies)
Discussion started by: Samb95
12 Replies
3. Shell Programming and Scripting
Hi ,
I have a CSV file that has around 50K records in it. I have to delete all the duplicate rows from the file except one, depending upon data in column4.
Lets say there are 3 rows for 'column4data' in the file. I have to retain only that line which has the smallest date value in column2.... (3 Replies)
Discussion started by: Sheel
3 Replies
4. Shell Programming and Scripting
Hi Friends,
I need some help. First look at my files hierchachy
/<level-1>/<level-2>/<level-3>/*.tif
eg. :
/2010-07-01/AFFIDAVIT-OF-SERVICE---FOR-SC/001/Babylon2_20100701012049_1278004849.49892_000.tif... (2 Replies)
Discussion started by: paragnehete
2 Replies
5. Shell Programming and Scripting
Hi All,
Please read the below data carefully.
I need an unix command for converting unix timestamp to Epoch timestamp.
I need to daily convert this today's unix(UTC) time to epoch time, so i am thinking to make a shellscript for this.
Please help me for this by providing... (3 Replies)
Discussion started by: aish11
3 Replies
6. Linux
Hi there, would appreciate some help on this parsing problem if anybody can help
im trying to parse a variable with the following output, each of the values im trying to parse are deliminated by a ;
T192... (8 Replies)
Discussion started by: scottish_jason
8 Replies
7. Shell Programming and Scripting
I'm fairly new to bash scripts, and all things unix in general. But I was in desperate need of this script, so I took matters into my own hands and built it!
The first script uses a password generator that creates 4 letter domain names and outputs only the ones that are available. Currently its... (0 Replies)
Discussion started by: Files
0 Replies
8. Shell Programming and Scripting
Hi guys,
I am currently working as a system administration engineer, administering telecom applications on linux/unix platforms.
I want to learn new things and improve the ones that i have and for this i though to really work on some project or something but i lack of ideas.
I want to be... (2 Replies)
Discussion started by: capitanui
2 Replies
9. Solaris
I'm in a desperate pursuit for Tools and Drivers CD for the six of my Ultra 20 M2 workstations - some of them have latest BIOS, some of them don't.
Oracle doesn't support them anymore - I even bought myself a CSI to get to support, but still no luck - and it seems the ISOs are nowhere to be found... (2 Replies)
Discussion started by: casial
2 Replies
10. Shell Programming and Scripting
Hello:
I am working parsing a large input file which will be broken down into multiples based on the second field in the file, in this case: STORE.
The idea is to create each file with the corresponding store number, for example: Report_$STORENUM_$DATETIMESTAMP , and obtaining the... (7 Replies)
Discussion started by: ec012
7 Replies
LEARN ABOUT DEBIAN
autodia::handler::dia
Autodia::Handler::dia(3pm) User Contributed Perl Documentation Autodia::Handler::dia(3pm)
NAME
Autodia::Handler::dia - AutoDia handler for dia
DESCRIPTION
This provides Autodia with the ability to read dia files, allowing you to convert them via the Diagram Export methods to images (using
GraphViz and VCG) or html/xml using custom templates.
The dia handler will parse dia xml files using XML::Simple and populating the diagram object with class, superclass and package objects.
the dia handler is registered in the Autodia.pm module, which contains a hash of language names and the name of their respective language -
in this case:
SYNOPSIS
use Autodia::Handler::dia;
my $handler = Autodia::Handler::dia->New(\%Config);
$handler->Parse(filename); # where filename includes full or relative path.
CONSTRUCTION METHOD
my $handler = Autodia::Handler::dia->New(\%Config); This creates a new handler using the Configuration hash to provide rules selected at
the command line.
ACCESS METHODS
$handler->Parse(filename); # where filename includes full or relative path.
This parses the named file and returns 1 if successful or 0 if the file could not be opened.
SEE ALSO
Autodia::Handler
Autodia::Diagram
AUTHOR
Aaron Trevena, <aaron.trevena@gmail.com>
COPYRIGHT AND LICENSE
Copyright (C) 2001-2007 by Aaron Trevena
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or,
at your option, any later version of Perl 5 you may have available.
perl v5.12.4 2009-02-16 Autodia::Handler::dia(3pm)