Networking :: Grab Certain Data From Trace File?

Jul 28, 2010

Alright, I have a network trace file that I want to parse through.

The file looks like this:

+ 1.002 /NodeList/1/DeviceList/0/$ns3::PointToPointNetDevice/TxQueue/Enqueue ns3::PppHeader (Point-to-Point Protocol: IP (0x0021)) ns3::Ipv4Header (tos 0x0 ttl 62 id 0 protocol 6 offset 0 flags [none] length: 40 10.2.1.1 > 10.1.1.1) ns3::TcpHeader (49153 > 26 [ SYN ] Seq=0 Ack=0 Win=65535)
- 1.002 /NodeList/1/DeviceList/0/$ns3::PointToPointNetDevice/TxQueue/Dequeue ns3::PppHeader (Point-to-Point Protocol: IP (0x0021)) ns3::Ipv4Header (tos 0x0 ttl 62 id 0 protocol 6 offset 0 flags [none] length: 40 10.2.1.1 > 10.1.1.1) ns3::TcpHeader (49153 > 26 [ SYN ] Seq=0 Ack=0 Win=65535)

[Code]....

View 2 Replies


ADVERTISEMENT

Programming :: Grab Variables Specified In A Data File And Use Them In The Script?

Dec 23, 2010

I have a script which uses a Menu file (containing several different Menus). I start out with

Code:

Menu=Main

and grep my VRMenuData file for

Code:

$Menu:code:$txtring

where txtring contains the value entered from the keyboard, and cut that line for the code I want executed. So my data looks like:

Quote:

Main:code:1:declare Menu=Download
Main:code:2:soffice -calc VRSched.ods
Main:code:3:echo Load Refresh Menu here

My code acting on the data looks like:

Code:

`grep $Menu:code:$txtring VRMenuData | cut -d: -f4`

When I chose options 1 thru 3, that executes with no problem (Menu=Download does not work). The program sees into field four, but field four is not able to see outside itself. For instance:

Code:

Download:chan:
Download:pitm:1:echo $numpi. Return to Main Menu
Download:pitm:2:

[code]....

is used to generate a numbered list of channels. It could be four or 40. Whatever the number is, I want the next line to read, for example, 32. Return to Main Menu.

Code:

num

is the variable in the script I use to number the list of channels. The number following Download: pitm: is numpi, which should be added to num. How do I take

Code:

Download:pitm:1:echo $numpi. Return to Main Menu

from my VRMenuData file and generate

Code:

32. Return to Main Menu

Code:

$ declare -p Menu
declare -- Menu="Download"
$ declare -p numpi

[code]....

View 3 Replies View Related

Networking :: Grab The Exe File Off Of Acer Website And Install?

Mar 18, 2010

I am having problems with my acer extensa 5620z wireless. I went on a few fourms and tried a few things they told me to do and It did not work. My question is this If i install wine can I grab the exe file off of acer website and install it that way?

View 2 Replies View Related

Networking :: Traffic Trace File Genration(VBR) In Ns2.34?

Sep 10, 2010

I want to create VBR traffic,I created file which contain two 32 bit fields.But When I execute tcl program with this.No pkt transfer is shown.When same program I tried with example-trace ,i saw pkt transfer.Containt of my traffic trace file is as follows :

[Code]...

View 4 Replies View Related

Ubuntu Networking :: Grab The Exe File Off Of Acer Website And Install It That Way?

Mar 18, 2010

I just have a question. I am having problems with my acer extensa 5620z wireless. I went on a few fourms and tried a few things they told me to do and It did not work. My question is this If i install wine can I grab the exe file off of acer website and install it that way?

View 5 Replies View Related

General :: How To Grab Data And Display Image

Nov 4, 2010

'I am attempting to grab roughly 40 pieces of data that is a combination of 0 and 1 flags from mysql. based off of the 0 or 1... either pictA or pictB will be displayed. How to evaluate my code? I believe the logic is incorrect.

PHP Code:
$status = 'mysql -u username -ppassword -h x.x.x.x -e 'SELECT help FROM table' database';
declare -A ARRAY
for ((i=1; i=$status; i++));
do
echo ${ARRAY[$(i)]}
done
if [${ARRAY[]} = 1];
then echo "<img src='pictA.gif'>";
else [${ARRAY[]} = 0];
echo "<img src='pictB.gif'>";
fi

View 4 Replies View Related

Security :: Detect File Deletion On An Operating System And Trace The File History Or Activity?

Oct 19, 2010

i am investigating on solutions to trace a file deletion on a computer( Linux O/S).i also need to determine weither after a file deletion or download on a computer, the computer clock had not been modified. In case a file has been downloaded on a computer and then transferred to a removable device, i need to find out the file activity. i mean i should be able to tell that the file was downloaded and transferred to a device with possible specifications.

View 2 Replies View Related

Server :: Trace Writes To File?

Feb 14, 2010

Does Linux have a way to trace writes to a file?

For each write, I would like to know the time, date, process id, user, file position, byte count, and the data written.

I could use this with a script to replay the writes to a backup of the original file, and reproduce the file contents as they were at a point in time.

View 4 Replies View Related

Software :: File Trace NS-2 And Program AWK?

Jun 10, 2011

This is a trace-all the files so that you can imagine my trace file format.

Code:

+ 0.1 1 0 cbr 164 ------- 1 1.0 0.0 0 0
- 0.1 1 0 cbr 164 ------- 1 1.0 0.0 0 0
r 0.111312 1 0 cbr 164 ------- 1 1.0 0.0 0 0

[code]....

View 10 Replies View Related

Ubuntu :: Grab Information From Mediainfo And Output It To A File?

May 19, 2010

I want to grab information from mediainfo and output it to a file with text already in it.

How would I do that?

Code:

#declaring the variables
filename=$1
DATE=`mediainfo "$filename" | grep "Recorded date" | awk -F" : " '{ print $2 }' | tr -d '

[Code].....

View 1 Replies View Related

Software :: Plot Trace File Into A Graph?

Mar 22, 2011

how do i plot the trace file into a graph? can any 1 show an example here? just any trace file will do

View 13 Replies View Related

Programming :: Gnuplot Graph Using Trace File

May 1, 2011

How to plot graphs for trace files generated in ns2 using xgraph and gnuplot.

View 7 Replies View Related

General :: Grab A Random Section In The Middle Of A Huge File?

Apr 23, 2011

I have a huge log file of around 3.5 GB and would like to sample random sections in the middle of say 10 MB for the purpose of debugging what my application is doing.

I could use head or tail commands to get the beginning or end of the file, how can I grab an arbitrary portion from the middle of the file? I guess I could do something like head -n 1.75GB | tail -n 10MB but that seems clumsy and I'd need to determine line numbers for the midpoint of the file to get 1.75GB and 10MB line counts.

View 2 Replies View Related

Programming :: Trace The Actions That Are Performed By .cshrc File?

May 11, 2011

I need to trace the actions that are performed by my .cshrc file. Is there a command i can use to get a printout of this?

View 3 Replies View Related

Ubuntu :: Why The Output Files (trace File E.g. Out.tr) Are Not Same For The Same Tcl Script

May 27, 2011

when I run a tcl script using ns-2.30 and get a result and run the sam script in ns-2.29 and get an error and run the script file in ns-2.33 and get a result but the output filr (out.tr) is less in size than the output file of ns-2.30 i and also in the details of time scale , for example one out.tr file contains 19000 line (2 M byte size) and the other out.tr file for the same tcl file using the ns-2.33 version contains 10000 lines (1. M byte size) . Does that make since ? also in result file nam file for ns-2.30 it has some drops but the ns-2.33 has no drops! when I run the name !!!. is the time scale for simulation tunable or can be aligned?

View 1 Replies View Related

Networking :: How To Trace Energy Metric In NS2

Jan 11, 2010

How to trace the energy information from the trace file. also how to change the energy drain in faster manner.

View 2 Replies View Related

Networking :: Red Hat DNS Server Dig+trace Failing Certain Sites Only?

Feb 4, 2011

For some reason my DNS servers aren't able to resolve certain names. Most names resolve fine there are just a few that don't work. Nslookup doesn't work either of course, and curiously neither does "whois".

Here's an example:

Quote:

dig facebookmail.com +trace
; <<>> DiG 9.2.4 <<>> facebookmail.com +trace
;; global options: printcmd

[code]...

View 2 Replies View Related

Networking :: Trace Route On A Specific Port?

Dec 4, 2009

I've got a few systems which forward ports to one another all over the place, and somewhere along the line a port forward fails. I want to trace the route of a connection on a specific port to see where the connection hits a wall, to see what system is causing the problem. I've tried `tracetoure -T -p <port>` but it doesn't output anything about the ports it hits, stops when it hits the address I supplied even though it is forwarded elsewhere, and there doesn't seem to be a verbose mode. interstingly, if I specify a different source port via the '-s' option, the trace keeps hopping to * * * * and never get anywhere (at least to 27 hops then I CTRL+C)

View 6 Replies View Related

Networking :: Trace Incoming And Outgoing Network Traffic For A Give User?

Mar 14, 2010

OS : CentOS 5.3 64bit How to trace incoming and outgoing network traffic for a give user? User 'A' logs in to the system and does various network connectivity As root user need to find what are the outgoing and incoming connection that are related with user 'A'. basically need to check the connection flow. netstat will show ESTABLISHED, LISTEN etc.. need something like tcpdump

Eg:- --user option for tcpdump tcpdump -vv -nn -i eth0 host 10.200.2.1 and tcp dst port 8080 --user A Can someone tell me any tool which can do such thing? Even if it can show the process ID of the client application which is trying to establish network connectivity will do.

View 1 Replies View Related

Networking :: Sending Test Data From File To Port And IP

Apr 23, 2009

I'm working on testing some software, and I have a question. We have several files of binary data that we need to push through our application to test. It communicates via simple TCP sockets. Is there a way I can send this data to the socket from the command line? I tried doing something like this, but telnet never picked up the data.

View 5 Replies View Related

Ubuntu Networking :: Ndisgtk Blocks Network Manager For 120 Seconds And Causes Stack Trace

Jun 19, 2010

I've troubles getting my new Sweex wireless 300N USB adapter to work. Tried searching in several directions (see closed thread). Further investigations shows however it is caused by the NDISGTK wrapper for Windows drivers. Can anyone tell me whether Sweex is shipping a faulty driver (it is the latest available) or it is a fault in ndisgtk? Or maybe I'm doing something stupid myself, which I do not find completely imagenary below some more detailed information on my findings: Started with network off and examined the networkstatus

Quote:

tpeelen@CC-desktop:~$ sudo lshw -C network
*-network DISABLED
description: Ethernet interface
product: RTL8111/8168B PCI Express Gigabit Ethernet controller

[code]....

View 1 Replies View Related

Ubuntu Networking :: Capturing Data On .pcap File And Piping It

Jun 22, 2011

I have a GPS device which sends in data on port number 5000, i am able to capture the data into a pcap file using tcpdump. Now my problem is, i need to pipe the data into a text file as and when data arrives into the pcap file continuously.I did extensive search, but to no avail. been trying to solve this for the past 3 days. I use the following commands to capture and pipe the data, but that happens only once when i issue the command. I want this to happen continuously as and when the data arrives.

View 1 Replies View Related

Ubuntu Servers :: Access The Data In .fbd Data File

Feb 19, 2011

We purchased a new database system at work last October, ditching the old system because of a lack of support from the vendor. This is a retail Point of Sale and Backoffice database system. I am not sure what system the new one runs on, but the system we replaced was a Firebird data base. The reason I am posting is because we are now in need of the information contained in the old database which was not completely imported into the new system.

Basically the problem is this: The database in on a Windows XP system and I found a copy of SQL Manager Lite 2008 on the system, which after quite a bit of studying, I figured out how to extract the database into a removable file. I have this file (178MB) on a USB stick in a file called Backoffice.fbd.

My studying suggests to me that I can get into this database with MySQL. I have never used this and have no clue how to do this. All I want to be able to do get into the database and create tab deliminated spreadsheet files for each of the database sections (Customers, Repairs, Sales History, stock files, etc.) Is it possible to do this with Ubuntu and MySQL and if so, can expert suggest one or two things to get me started. While a guided tutorial would be nice because I am not an expert, I am willing to learn on my own if someone could point me in the right direction.

View 3 Replies View Related

Networking :: Serial Port : Read Data, Not Reading Complete Data?

Mar 5, 2010

I have an application where I am sending data via serial port from PC1 (Java App) and reading that data in PC2 (C++ App). The problem that I am facing is that my PC2 (C++ App) is not able to read complete data sent by PC1 i.e. from my PC1 I am sending 190 bytes but PC2 is able to read close to 140 bytes though I am trying to read in a loop.Below is code snippet of my C++ AppOpen the connection to serial port

Code:
serialfd = open( serialPortName.c_str(), O_RDWR | O_NOCTTY | O_NDELAY);
if (serialfd == -1)

[code]...

View 5 Replies View Related

General :: Make Arithmetic Operation Of Data File With Script File?

Aug 31, 2010

I wonder how to arithmetic operation of our data file using any script program/command (like sed, cut,awk)for example my data.file is:

45 65 42
12 23 61
43 34 21

I want to multiply first column with 2 and add second column with 3 then it become

90 68 42
24 26 61
86 37 21

View 5 Replies View Related

General :: Data From Input File To Be Taken And Send To Output File?

Jul 24, 2010

I am new to shell scripting.What i am trying is to write a shell script which take the input file and output should like as mentioned below.Output file should have data till SOK (marked in red)from every second line and then the selected data(marked in green) from 4th line.So selected data from 2nd and 4th line in one line of O/P file and then similarly selected data from 6th and 8th line in second line of O/P file.Input File:

3c3
< c1111;11.11.11.11;pOK;SOK:abcde;Universe:aa
---

[code]...

View 14 Replies View Related

Networking :: Trace An IP Address To A MAC Address?

Apr 18, 2011

My security software has picked up multiple port scanning detections on my router/network and only the IP addresses are available. Is it possible to find out what the remote mac address is to see if the IP source has been spoofed? I've got a couple of different IP sources which were found scanning my ports.

I don't know if my IP and the remote IP address are on the same network or subnet for that matter which is the reason for my wanting to know what the mac address is to find out if its coming from the same remote machine.

View 8 Replies View Related

Ubuntu :: Keep Getting The Below Msg Could Not Grab Your Mouse?

Jan 7, 2010

I just got a kernel update 2.6.31-17. Vmware needs to recomiple the drivers but I keep getting the below msg.Code:Could not grab your mouse.A malicious client may be eavesdropping on your session or you may have just clicked a menu or some application just decided to get focus.

View 3 Replies View Related

Ubuntu :: Using SED To Grab URLs?

May 30, 2010

Is there a way with SED to read this link:

[URL]

and then pull the individual links and list them in order each on a separate line? like...

[URL]

If SED can't do this is there another command or program that will?

View 1 Replies View Related

Ubuntu :: TV Grab Not Working Any Longer?

Jan 18, 2010

I noticed that tv_grab is not working any longer. It seems that they do not updated the pages. It is since long time the problem.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved