[Backgroundrb-devel] Process status...
lapomme00 at gmail.com
Mon Aug 7 06:07:10 EDT 2006
Totally agree. It would be great to see the status of all the jobs.
The simple solution is all I needed right now, but I can see building
out a more detailed status screen, and would need this level of
function. Also being able to set up an email notify if a critical
process drops for some reason.
On 8/7/06, Michael Siebert <info at siebert-wd.de> wrote:
> nice. but there could be another way, involving more code, but then it
> should be even possible to determine what workers are loaded, who is
> currently working, and other status stuff. and it would be
> platform-independent. as i could need that in some time too, i'll check if
> that works what i have in my mind... (if i can find some time on the
> 2006/8/7, Brett Walker <lapomme00 at gmail.com>:
> I've used Railscron in a couple instances, and I liked that fact that
> it has a rake task for checking the status of the process. Many times
> I use it in the admin interface to allow me to double check that
> everything is up and running.
> I couldn't find one for backgroundrb, so here is a simple one.
> Probably obvious to everyone, and no doubt there is a better way to do
> namespace :backgroundrb do
> desc "Status of BackgrounDRb"
> task :status do
> puts `ps x | grep backgroundrb | grep -v backgroundrb:status |
> grep -v grep`
> If there is another way I don't know about, please let me know.
> Backgroundrb-devel mailing list
> Backgroundrb-devel at rubyforge.org
> Michael Siebert <info at siebert-wd.de>
> www.stellar-legends.de - Weltraum-Browsergame im Alpha-Stadium
More information about the Backgroundrb-devel