Script to check a process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux