Article View: alt.privacy.anon-server
Article #271957Re: slow has sailed off the end of the earth again
From: Anonymous
Date: Sun, 25 Jan 2015 22:31
Date: Sun, 25 Jan 2015 22:31
29 lines
1778 bytes
1778 bytes
> Yo slow! Oh no! So where did you go? Zax don't know. Larry,
> Curly, and Mo!
Here is one I use to monitor if a process on a system is running.
Script is stored in cronetab and runs once every minute. I changed
the name to mixmaster, but it needs some modifying to accept the -D.
I don't know how that would be done, possibly just replacing the &.
The *) should not be done, of course, since multiple instances of
mixmaster can occur.
#! /bin/bash
case "$(pidof mixmaster | wc -w)" in
0) echo "Restarting mixmaster: $(date)" >> /home/mix/Mix/mixmaster.txt
/home/mix/Mix/mixmaster &
;;
1) # all ok
;;
#*) echo "Removed double mixmaster: $(date)" >> /home/mix/Mix/mixmaster.txt
# kill $(pidof mixmaster | awk '{print $1}')
# ;;
esac
0 If process is not found, restart it.
1 If process is found, all ok.
* If process running 2 or more, kill the last.
Technical Details
Message-ID:
<da46fb3d0ac5c3aae0bdcc63a292f900@remailer.paranoici.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20150204.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!sewer!news.dizum.net!not-for-mailReferences:
<2c15b3a8a42fc03bbd20d9e99c943188@foto.nl1.torservers.net>Show Full Headers
Complete Article Headers
Message-ID: <da46fb3d0ac5c3aae0bdcc63a292f900@remailer.paranoici.org> Subject: Re: slow has sailed off the end of the earth again Date: Sun, 25 Jan 2015 22:31:44 +0000 From: Anonymous <nobody@remailer.paranoici.org> References: <2c15b3a8a42fc03bbd20d9e99c943188@foto.nl1.torservers.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.privacy.anon-server.20150204.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!sewer!news.dizum.net!not-for-mail Newsgroups: alt.privacy.anon-server Organization: dizum.com - The Internet Problem Provider X-Abuse: abuse@dizum.com Injection-Info: sewer.dizum.com - 194.109.206.211 Lines: 28