[smokeping-users] Stopping smokeping?
Josh Luthman
josh at imaginenetworksllc.com
Fri Jun 24 02:59:29 CEST 2011
Not sure if this is the best way to do it, but here is what my init script
has:
kill `cat /usr/local/smokeping/var/smokeping.pid`
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
On Thu, Jun 23, 2011 at 8:57 PM, Steven Stromer <filter at stevenstromer.com>wrote:
> Hi List,
>
> Can anyone recommend a clean method for shutting down smokeping on OS X?
>
> $ ps -ax | grep smokeping
> 29231 ?? 0:00.25 /opt/local/bin/speedy_backend
> /opt/local/var/smokeping/smokeping.cgi
> 41246 ?? 0:01.38 /opt/local/bin/smokeping [EchoPingHttp]
> 41247 ?? 0:03.50 /opt/local/bin/smokeping [FPing]
> 41248 ?? 0:03.90 /opt/local/bin/smokeping [DNS]
> 56754 ?? 0:13.75 /opt/local/bin/speedy_backend
> /opt/local/var/smokeping/smokeping.cgi
> 92373 ?? 0:03.97 /opt/local/bin/perl -w /opt/local/bin/smokeping
> 25335 ttys000 0:00.08 tail -f /var/log/smokeping.log
> 57434 ttys001 0:00.00 grep smokeping
>
>
> I eventually killed the .cgi processes by specific pids:
> $ sudo kill -QUIT [pid]
>
> but this doesn'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?
>
>
> Earlier attempts:
>
> $ sudo launchctl stop /Library/LaunchDaemons/org.macports.smokeping.plist
> launchctl stop error: No such process
>
>
> $ sudo launchctl unload /Library/LaunchDaemons/org.macports.smokeping.plist
> launchctl: Error unloading: org.macports.smokeping
>
>
> $ sudo smokeping stop
> ### parsing dig output...OK
> Note: logging to syslog as local1/info.
> ERROR: I Quit! Another copy of /opt/local/bin/smokeping (92373) seems to be
> running.
> Check /var/run/smokeping.pid
>
>
> Your assistance is much appreciated!
>
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20110623/4e0ee5b8/attachment.htm
More information about the smokeping-users
mailing list