01-22-2014
There is no "best solution".
A good solution is one which offers a good balance between :
1) good from a performance point of view (good response time and consuming as little physical ressources as possible (CPU, memory, disk)
2) easy to read, understand and maintain (so that anybody should be able to quickly understand an adapt it quickly if the requirements change or if fix are needed)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
i need a script which reads a certain file and then display it on the screen.
The thing is i need to filter the display output.
this is an example of the file which is to be loaded in the script.
asdfg1.1.1|98
hjkldfe4.0.3|123
asdzxzvdweradfsdafascv10.0.10|123456789... (1 Reply)
Discussion started by: khestoi
1 Replies
2. IP Networking
Hi
I have a wireshark file saved (from my network) and I have to analyze the flows inside it.
The problem is that i have to analyze not the complete file (60.000 pkts!) but just a subset of it.
In other words i have to sample the wireshark.file.dump and for example from 60.000 pkts take... (2 Replies)
Discussion started by: Dedalus
2 Replies
3. Shell Programming and Scripting
Hi guys - I use this script below to search for files that are of todays date. It also informs if the file doesnt exist or is old.
I am trying to make the script inform of the errors in the "begining" of the output email. Such as all errors are grouped together.
I am using the following... (1 Reply)
Discussion started by: DallasT
1 Replies
4. Shell Programming and Scripting
I am running a grep query for searching a pattern, and the output is quite huge. I want only the last 200 lines to be displayed, and I am not sure if tail will do the trick (can tail read from std in/out instead of files?).
Please help me out. (1 Reply)
Discussion started by: shell_newbie
1 Replies
5. Shell Programming and Scripting
I have a process which writes lots of output to the screen and am capturing it to a file.
But the issue is that there are few lines which repeat every second which is causing the file size to be enormous. I am trying to filter out and then run the command but its not working.
Can you confirm... (7 Replies)
Discussion started by: rajkumarme_1
7 Replies
6. Shell Programming and Scripting
I am filtering the value of Server status from a file and am storing it in a temp file which I compare later to exit with appropriate status. I am wondering if I can directly output the value of Server status as an array element and then compare the value of elements to get the right exit status
... (2 Replies)
Discussion started by: paslas
2 Replies
7. UNIX for Dummies Questions & Answers
Hi
"top -bc -n10" gives me the output of the "top" command 10 times.
Now i dont want repeated results and hence want to return only the last output.
And I would like to do it in one command and not in script.
can you please help me out?
Thanks (2 Replies)
Discussion started by: avinthm
2 Replies
8. UNIX for Advanced & Expert Users
I have posted a thread in Unix for Dummies question......
https://www.unix.com/unix-dummies-questions-answers/223769-filter-top-bc-n10-output.html
Can anybody help me out with this please?
Thanks
Avinash (3 Replies)
Discussion started by: avinthm
3 Replies
9. Shell Programming and Scripting
Hi All,
I am trying to find out number of cores present for hp-ux server from the output of print_manifest (as shown below). i suppose awk will be best tool to use for filtering.
output of print_manifest is :
System Hardware
Model: ia64 hp Integrity Virtual Partition
... (6 Replies)
Discussion started by: omkar.jadhav
6 Replies
10. Shell Programming and Scripting
Hello guys,
I'm writing a little script which sends me sms with my shell script via api of a sms provider.
problem is I can't filter my curl output for this site:
site url:... (1 Reply)
Discussion started by: genius90
1 Replies
LEARN ABOUT DEBIAN
biogenesis
BIOGENESIS(1) Biogenesis BIOGENESIS(1)
NAME
biogenesis - Biogenesis, an artificial life program focused on evolution
SYNOPSIS
biogenesis [RANDOM_SEED]
DESCRIPTION
This program imitates the evolutionary processes that happens on unicellular organism populations in nature. It has been tried to create an
example of the elemental bacterial processes, simplifying them a lot and presenting them in a visual and comprehensible manner. Although it
is not scientifically exact, regular mechanisms on bacterial evolution and life can be observed and it can be interesting as a didactic
approximation to concepts like mutation, evolution or photosynthesis. It is also a good entertainment.
The organisms that will populate this world are not representations of natural unicellular organisms, but an abstraction has been used to
be able to look more clearly at their virtual life. These organisms are formed by segments of different colors and lengths. The organism's
segments color and length establish its properties, so that we can know what can an organism do only by looking at it on the screen. More-
over, these segments' configuration is a representation in the world of its genetic code, which its descendants will inherit in an identi-
cal form, with the exception of random mutations that can happen in each generation.
Organisms that obtain beneficial mutations will be the most successful ones, on the reproductive point of view, and will create a large
number of descendants that will propagate its genes and its mutation in the future. However, those that suffer from a less appropriate
mutation will not take a long time to die without being able to extend their species' lives longer than their own lives.
OPTIONS
RANDOM_SEED
This number determines the sequence of the random numbers that will be generated. This way it is possible to recreate several times
the same scenario if the same number is introduced.
PERFORMANCE
This program has a high CPU consumption. You need to set a few parameters in order to adapt it to your hardware.
These are the parameters that you should configure. Remember that you can do this by selecting the Parameters option under the World menu.
* OpenGL: The use of the OpenGL libraries greatly increases program's speed. This option is deselected by default because it doesn't work
on all hardware and drivers combinations. You should try to enable it and restart the program. If it crashes or doesn't work, OpenGL will
be disabled next time you run it.
* Disable fbobject: Due to a bug in some graphic drivers, it may be necessary to activate this option for the OpenGL to work. If the first
time that you try to activate them they don't work, try to activate them with this option.
* Time per frame: This parameter controls the speed that the program will try to reach. If it is consuming a lot of CPU you should raise
it, and if it is not and you want the process to execute faster, you should lower it.
* Initial carbon dioxide: The CO2 is the limiting factor to life expansion. More CO2 means more organisms will populate the world, and
more CPU needed to calculate their moves and draw them. If you change this parameter, it may be a good idea to change the world size
accordingly to keep the same CO2 concentration.
AUTHOR
Written by Joan Queralt Molina <joanq.biogenesis@gmail.com>.
This manual page was originally written by Miriam Ruiz <little_miry@yahoo.es> and Joan Queralt.
COPYRIGHT
Copyright (C) 2006-2011 Joan Queralt Molina <joanq.biogenesis@gmail.com>
This is Free Software; this software is licensed under the GPL version 2, as published by the Free Software Foundation. There is NO war-
ranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
SEE ALSO
You can find more information about Biogenesis and a full user manual on its homepage: http://biogenesis.sourceforge.net/
Fri, 18 Feb 2011 BIOGENESIS(1)