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
smdiag
SMDIAG(8) Linux Programmer's Manual SMDIAG(8)
NAME
smdiag - Linux soundcard packet radio modem driver diagnostics utility
SYNOPSIS
smdiag [-i device] [-d display] [ -ce ]
DESCRIPTION
smdiag may help to adjust the audio levels of the soundcard modem driver, as well as to control the quality of the radio link. It may
either display an oscilloscope like view of the input signal, or display an eye diagram. The display may be gated with DCD, i.e. only
updated if the modem detects a data carrier.
OPTIONS
smdiag accepts the following options:
-i The device argument specifies the soundcard modem device which should be configured or interrogated. It will usually have the fol-
lowing form: sm[0-3].
-d sets the address of the X server to display the window.
-h display an overview of the available command line parameters and exit.
-c toggle the carrier gating of the display.
-e display an eye diagram (overlay of the synchronized demodulator output) instead of an oscilloscope view of the input signal.
KEYS
C clears the window
D toggles the DCD gating.
E displays an eye diagram
I displays the input signal
Q quits smdiag
BUGS
smdiag Reacts sluggishly to keypresses. The window size is fixed. For speed reasons, two square root operations per sample are not imple-
mented in the AFSK 1200 baud modes. The eye diagram for the AFSK 1200 baud mode is therefore distorted.
SEE ALSO
smmixer (8), sethdlc (8), linux/drivers/net/soundmodem.c
AUTHOR
smdiag was written by Thomas Sailer (t.sailer@alumni.ethz.ch).
Smdiag 0.1 1 October 1996 SMDIAG(8)