What do I do with this huge data on my command line interface
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
What do I do with this huge data on my command line interface
Hi,
I have been trying to get information on how to process the output of a tcl file (aodv and leach protocol using mannasim) which I got on my command line Iinterface. Actually, I don't even know the keywords to search as I am new to this and other minor attempts haven't yielded positive results., I know there is usually a trace file but I can't see any. All I see is on my command line.
I also observe that it took the space on the entire screen and I can't copy the output from the start ( I could only copy from node 19 out of 30 nodes) because of the huge number of output lines.
The last thing I havent been able to figure ou is whether temperature is equivalent to energy Iin mannasim as mannasim has only temperature and carbon dioxide?
Thanks for the response, it was quite beneficial and I was able to get it into a file.
However, please I dont know the most appropriate trace analyzer to use as it seems different from other trace files I have seen. I already attempted to use trace graph.
This is a sample of what I got
The first part looks like this:
* Node 1 = 1 created in (24.69199808532931, 40.81560109779965, 0.0)
* Node 2 = 2 created in (72.50801342190617, 37.513115833286712, 0.0)
* Node 3 = 3 created in (74.934853555138631, 67.811206992627689, 0.0)
The second looks like this:
Node 10 - Temperature Data 18.368035 - Time 0.085450
Common Node 10 - Disseminating data - Time 0.085 - Destination node 0
Node 11 - Temperature Data 26.870198 - Time 0.085450
Common Node 11 - Disseminating data - Time 0.085 - Destination node 0
I am concerned about the best tool plotting the graph of the energy with respect to time.
I;d suggest using awk or perl to get the data into a simple two-column format (first column time and second column energy). Then you can use any number of plotting tools to make a graph. I use pyplot a lot myself, but it requires knowledge of Python. You could also use gnuplot, which is still fairly complex but does not require any real programming.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.