From: Diego Alencar Alves de Lima <diegolima.br@gmail.com>
To: linux-newbie@vger.kernel.org
Subject: Script to check a process
Date: Sat, 8 Jul 2006 01:09:48 -0300 [thread overview]
Message-ID: <200607080109.48851.diegolima.br@gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0607071616540.23767@turbotaz.ourhouse>
Hello,
I have a system that I monitor remotely but I have a problem: I need to have 3
processes running on it all the time (actually, it's the same process running
3 times) and I can't be watching the system 24/7.
How can I make a script that will check to see if a certain process is
running? The process name is "nspluginviewer" and there should be 3 of it
running (each one called from a konqueror process). Then it would reboot the
computer if it didn't detect the three running.
Thanks
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2006-07-08 4:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-07 9:46 Commenting out out_of_memory() function in __alloc_pages() Abu M. Muttalib
2006-07-07 9:54 ` Robin Holt
2006-07-11 14:57 ` Abu M. Muttalib
2006-07-11 15:08 ` Abu M. Muttalib
2006-07-11 15:19 ` Abu M. Muttalib
2006-07-13 5:12 ` Mouhammad Tayseer Alquoatli
2006-07-11 15:35 ` Chase Venters
2006-07-24 9:44 ` Abu M. Muttalib
2006-07-07 21:21 ` Chase Venters
2006-07-08 4:09 ` Diego Alencar Alves de Lima [this message]
2006-07-08 10:36 ` Script to check a process Frederik Deweerdt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200607080109.48851.diegolima.br@gmail.com \
--to=diegolima.br@gmail.com \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox