System Garden

Habitat 2.0 Alpha User Manual

Contents

  1. Introduction
  2. Data Sources
  3. Displaying Data
  4. Customisation and Preferences
  5. The Collection Agent: Clockwork
  6. Command Line Utilities
  7. Data Formats
  8. Upload, Download and Replication
    with System Garden

Manual Pages

statclock

NAME

statclock - Reports on running clockwork, Habitat's collection agent  

SYNTAX

statclock  

DESCRIPTION

Reports on the running public instance of clockwork 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 if it is found in the process table. If not found, then the lock file is removed if it is there and a message to that effect is printed

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.  

FILES

/tmp/clockwork.run
/var/run/clockwork.run  

EXAMPLES

Typing the following:-

statclock

will result in a display similar to below and the termination of the clockwork daemon.

Clockwork process 17502 is running
  was started at 19-Apr-11 08:01:45 AM, user nigel, on /dev/pts/1  

AUTHORS

Nigel Stuckey <[email protected]>  

SEE ALSO

clockwork(8), killclock(8), habedit(8), habrep(8), habconf(5), myhabitat(1), habget(1), habput(1), habrs(1), habprobe(1), habmeth(1)


 

Index

NAME
SYNTAX
DESCRIPTION
FILES
EXAMPLES
AUTHORS
SEE ALSO