killclock - Stops clockwork, Habitat's collection agent
Stops the public instance of clockwork running on the local machine.
This shell script locates the lock file for clockwork, which is the collection agent for the Habitat suite. It prints the process id, owning user, controlling terminal and start time of the daemon, before sending it a SIGTERM.
No check is made that the clockwork process has terminated before this script ends.
Private instances of clockwork (started with -j option) can not be stopped by this method, as they do not register in a lock file. Instead, they should be controlled by conventional process control methods.
/tmp/clockwork.run
/var/run/clockwork.run
Typing the following:-
killclock
will result in a display similar to below and the termination of the clockwork daemon.
Stopping pid 2781, user nigel and started on /dev/pts/2 at 25-May-04 08:08:55 AM
Nigel Stuckey <[email protected]>
clockwork(8), statclock(8), habedit(8), habrep(8), habconf(5), myhabitat(1), habget(1), habput(1), habrs(1), habprobe(1), habmeth(1)