Sponsored Content
Full Discussion: PS finds a ghost?
Top Forums UNIX for Dummies Questions & Answers PS finds a ghost? Post 1374 by jguirao on Wednesday 28th of February 2001 06:02:10 PM
Old 02-28-2001
Your idea is good, but I need to implement it in a lot of scripts (77 aprox), a lot of them running at the same time.

What I don't want is to use 77 different names for each temporary file.

 

9 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

SETI Finds Stolen Laptop

The SETI@home project invites volunteers to install special software of their home computers. This software, called BOINC, runs computational jobs when the computer would otherwise be idle. And the software needs to contact the main server periodically to deliver results and obtain new problems.... (2 Replies)
Discussion started by: Perderabo
2 Replies

2. Shell Programming and Scripting

Can sed replace every 2 instances it finds in a file? Pattern.

My goal is to make a script to find/replace the variable "PORT" with a unique number. Like the following <VirtualHost 174.120.36.236:PORT> ServerName architect.com.ph ServerAlias www.architect.com.ph DocumentRoot /home/architec/public_html ServerAdmin... (16 Replies)
Discussion started by: EXT3FSCK
16 Replies

3. Shell Programming and Scripting

combine multiple finds into 1-liner

How to combine 3 find statements into 1-liner? find statements: cd ${dir1} ; find . ! -name . -prune -type f | xargs file | grep -i ascii | cut -f1 -d: | xargs grep -l "${searchtxt}" cd ${dir2} ; find . ! -name . -prune -type f | xargs file | grep -i ascii | cut -f1 -d: | xargs grep -l... (4 Replies)
Discussion started by: ux4me
4 Replies

4. UNIX for Dummies Questions & Answers

find -size -7M finds files, but won't cp them all

If I run: find /somefolder -type f -size -7M | wc -l I get 73594 files But when I run find /somefolder -type f -size -7M -exec /bin/cp -v {} /someotherfolder/ \; it only copies 38891 of the files to the folder, why? There's a mix of all types of files in /somefolder. Is there some other... (12 Replies)
Discussion started by: unclecameron
12 Replies

5. Shell Programming and Scripting

sed finds nothing but it changes file's timestamp

I must go through some files to change a certain string within text files to another string. I use openSUSE and folders are mounted by cifs. Text to be replaced (only in .m extension) is U:\FOLDER and new string is N: That works fine with spaces in directory names etc., but this process ... (5 Replies)
Discussion started by: Pappa41
5 Replies

6. Shell Programming and Scripting

Ksh: Send a mail in case grep finds something

I want to search a file if it contains special strings and if yes, the records found should be mailed. I can either do it with a temporary file: /usr/bin/grep somestring somefile > /tmp/tempfile && /usr/bin/mail -s "Found something" email@mycomp.com < /tmp/tempfile... or by running the grep... (10 Replies)
Discussion started by: Cochise
10 Replies

7. Shell Programming and Scripting

I want my script to NOT to send an e-mail if it finds the same keyword more than twice.

My script triggers and e-mail if keywords supplied to it were found. Problem is if it find the same keyword continously (due to continous server errors), it triggers mails and fillup my mail box with same message (which is not required) I want my script to NOT to send an e-mail if it finds the... (13 Replies)
Discussion started by: Rajeshneemkar
13 Replies

8. Shell Programming and Scripting

Finds all duplicate files

Hi, How would you write bash script that given a directory as an argument and finds all duplicate files (with same contents - by using bytewise comparison) there and prints their names? (6 Replies)
Discussion started by: elior
6 Replies

9. UNIX for Beginners Questions & Answers

Command finds some, misses some

The contents of my home directory: bin Desktop Documents Downloads folders Music Pictures Public Templates Videos When I run the command for file in /home/myself/*d*; do if ; then echo $file; fi; doneit finds /home/myself/Downloads /home/myself/Videos but not "folders". ... (5 Replies)
Discussion started by: Xubuntu56
5 Replies
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)
All times are GMT -4. The time now is 06:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy