[smokeping-users] Stopping smokeping?
filter at stevenstromer.com
Fri Jun 24 02:57:23 CEST 2011
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?
$ 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.
Your assistance is much appreciated!
More information about the smokeping-users