Charles Nadeau's Radio Weblog : A weblog about technology, tools and knowledge management
Updated: 2007-06-26; 20:56:45.

 

Subscribe to "Charles Nadeau's Radio Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.


Categories: (Check them too. My content isn't all on the main page)

Knowledge Management
Technology
My Hardware
My Software
En français!
Top 20 topics!


Currently reading:

The Second World War, Volume 1: The Gathering Storm by Winston S. Churchill

Beginning Linux Programming (Programmer to Programmer) by Richard Stones and Neil Matthew



www.blogwise.com

Male/31-35. Lives in Canada/Ontario/Ottawa/Manor Park, speaks French and English. Spends 80% of daytime online. Uses a Faster (1M+) connection. And likes Cooking/Reading.
This is my blogchalk:
Canada, Ontario, Ottawa, manor Park, French, English, Male, 31-35, Cooking, Reading.


The Political Compass: Economic Left/Right: -3.50
Authoritarian/ Libertarian:
-2.26


Technorati Profile
Popdex Citations



 
 

26 juin 2007

KTorrent is unstable on my main machine, it crashes randomly. I wrote a little Bash script, I put in my crontab, to check if it runs and restart it when it doesn't:

let numproc=$(ps aux | grep -e "ktorrent$" | wc -l)

if [ $numproc -eq 0 ];

then

ktorrent

else

let numerr=$(ps aux | grep -e "--appname ktorrent" | grep -e "drkonqi" | wc -l)

if [ $numerr -eq 1 ];

then

let numproc=$(ps aux | grep -e "--appname ktorrent" | grep -e "drkonqi" | awk '{print $2}')

kill -KILL $numproc

ktorrent

fi

fi

So far so good...
8:50:07 PM Google It!    comment []   Trackback: trackback []


© Copyright 2007 Charles Nadeau.



Click here to visit the Radio UserLand website.
 



-->
June 2007
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
Feb   Jul


Google
Search the whole web!
Search Charles radio!


www.flickr.com


Top 5 artists I listen to the most often during the last week:


I subscribe to:

Here's how this works.


Weather in Ottawa:
The WeatherPixie
Weather in Fukuoka:
The WeatherPixie