Not sure if this is the best way to do it, but here is what my init script has:<br><br>kill `cat /usr/local/smokeping/var/smokeping.pid`<br><br clear="all">Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>

Suite 1337<br>Troy, OH 45373<br>
<br><br><div class="gmail_quote">On Thu, Jun 23, 2011 at 8:57 PM, Steven Stromer <span dir="ltr">&lt;<a href="mailto:filter@stevenstromer.com">filter@stevenstromer.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi List,<br>
<br>
Can anyone recommend a clean method for shutting down smokeping on OS X?<br>
<br>
$ ps -ax | grep smokeping<br>
29231 ??         0:00.25 /opt/local/bin/speedy_backend /opt/local/var/smokeping/smokeping.cgi<br>
41246 ??         0:01.38 /opt/local/bin/smokeping [EchoPingHttp]<br>
41247 ??         0:03.50 /opt/local/bin/smokeping [FPing]<br>
41248 ??         0:03.90 /opt/local/bin/smokeping [DNS]<br>
56754 ??         0:13.75 /opt/local/bin/speedy_backend /opt/local/var/smokeping/smokeping.cgi<br>
92373 ??         0:03.97 /opt/local/bin/perl -w /opt/local/bin/smokeping<br>
25335 ttys000    0:00.08 tail -f /var/log/smokeping.log<br>
57434 ttys001    0:00.00 grep smokeping<br>
<br>
<br>
I eventually killed the .cgi processes by specific pids:<br>
$ sudo kill -QUIT [pid]<br>
<br>
but this doesn&#39;t seem an acceptable method. Should I be running all probes in a single process? Is it intentional that smokeping spawns two instances of smokeping.cgi?<br>
<br>
<br>
Earlier attempts:<br>
<br>
$ sudo launchctl stop /Library/LaunchDaemons/org.macports.smokeping.plist<br>
launchctl stop error: No such process<br>
<br>
<br>
$ sudo launchctl unload /Library/LaunchDaemons/org.macports.smokeping.plist<br>
launchctl: Error unloading: org.macports.smokeping<br>
<br>
<br>
$ sudo smokeping stop<br>
### parsing dig output...OK<br>
Note: logging to syslog as local1/info.<br>
ERROR: I Quit! Another copy of /opt/local/bin/smokeping (92373) seems to be running.<br>
       Check /var/run/smokeping.pid<br>
<br>
<br>
Your assistance is much appreciated!<br>
<br>
<br>
_______________________________________________<br>
smokeping-users mailing list<br>
<a href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><br>
</blockquote></div><br>