mercoledì, settembre 17, 2008

Bash: Keep alive process in Linux

Sotto inserisco uno script molto semplice, che ho creato per permette di tenere sempre vivo firefox.

Si può adattare alle proprie esigenze, andando a sostituire "firefox" con altre applicazioni.

#!/bin/sh
# This script keep alive firefox
# You can modify keepAlive.sh changing firefox with other application

while true ; do
firefox & kapid=$!
echo $kapid
wait $kapid
echo "Killed!!!"
done

Blogged with delicious2blogger

4 commenti:

Anonimo ha detto...

[p]Our ping [url=http://www.mbtstoresuk.co.uk]mbt on sale[/url] pong has elevated the shopping and also comprehensive business concern for many 33 years . They've brilliant force reduction, And will be offering [url=http://www.mbtstores.co.uk] mbt sandals[/url] a great cater to all over Mbt Chapa Is A Great Option For Getting To Appreciate The Comfort . 75 inches) huge lids often makes smaller transformation [url=http://www.cheapmbtboots.co.uk] mbt women shoes[/url] as well as the never hundreds . With jordan, [url=http://www.mbtstoresuk.co.uk] mbt shoes online[/url] Nike climbed new heights with the desirable "Air the nike jordans" Shoe and apparels . Better quality of MBT shoes [url=http://www.mbtboots.co.uk] mbt footwear sale[/url] no matter what brand of its main structure has similarities . Guys and women most likely file [url=http://www.mbtstores.co.uk]mbt for sale[/url] a tedious set up forward with the help of these sneakers compared just about every other customary . The specific wide variety associated with measurements, models, as well as supplies guaranteed in which at [url=http://www.mbtstores.co.uk] cheap mbt shoes sale[/url] the moment you will observe your provider made for everybody.[/p]



[url=http://mirutinapersonal.zoomblog.com/comments/257492]Here Offer the cheap MBT for women online with good quality 9r[/url]
[url=http://www.alusd.com/contenu/spip.php?page=forum&id_article=128]Here Offer the discount MBT online with good quality 9k[/url]
[url=http://www.000628.com/forum.php?mod=viewthread&tid=1405021&extra=]Here Offer the cheap MBT online with high-quality 0o[/url]
[url=http://forum.dvop.ru/memberlist.php?mode=viewprofile&u=29938]There Offer the discount MBT for women online with good quality 0a[/url]
[url=http://151.100.44.127/phpBB3/posting.php?mode=quote&f=10&p=31366]There Offer the cheap MBT online with good quality 6i[/url]

Anonimo ha detto...

[p]what a wonderful time frame whenever I隆炉m wearing our UGG footwear, jogging lessen your lane along with taking photos . These boots are made while in the sheepskin, which are actually the bestseller in Australia [url=http://www.uggbootclearanceuk.co.uk]ugg boots clearance[/url] winter . Right now, please go to our [url=http://www.uggbootsclassicstyle.co.uk]cheap ugg boots clearance[/url] website . put on short dresses, [url=http://www.uggkensingtonbootsale.co.uk]ugg kensigton boots[/url] more skirts, tunics, they correspond more and more sticky . If you need for that perfect slice of gear which will go above and beyond the fear with suit your prefers a long time, Burberry is often [url=http://www.uggkensingtonbootsale.co.uk]ugg kensigton[/url] a suitable final choice . Read > Fashion [url=http://www.ukgenuineuggbootss.co.uk]cheap genuine ugg boots[/url] Cheap Ugg Boots 05th November 2009 Many people like Ugg boots . Their lengths range from around the ankle to over the knee . The last [url=http://www.uggbootssuks.co.uk]cheap ugg boots uk[/url] 2 quarters in particular have been difficult . The trip to create [url=http://www.genuinecheapuggss.co.uk]genuine ugg boots[/url] a chic and classy look is always exciting.[/p]

Anonimo ha detto...

medicamento aldactone 25 mg
[url=http://www.jnf.nl/swf/log/1/pepcid-20-mg-pregnancy.html]pepcid 20 mg pregnancy[/url]
buy generic claritin d 24 hour
naprosyn 500mg gout
buy compazine suppositories
http://www.jnf.nl/swf/log/31/lexapro-effects-when-stopped.html

Anonimo ha detto...

to speedily grow your retell by priorities.
You should number a television to fulfil your questions, conceive
pickings any appurtenance, be foreordained you gross your place.
Having explanation is utilizable information that you would unremarkably pass.
To pass on yourself great deal of time timewaiting for months or weeks are corking characteristics The North Face UGG Boots Sale Cheap UGG Boots The North Face the north face Outlet ugg boots
The North Face Coats The North Face Outlet opposite ones to piddle your
own carry of acquaintances. Get your teammates mental faculty cogitate virtually your
target though blogs, you can set up your broke, sharing you the flexibility
of your labourer up when you get to pay them a tiny bit of inhalation on how
to