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

habget

NAME

habget - Send habitat data to standard output  

SYNTAX

habget [-c <purl>] [-C <cfcmd>] [-e <fmt>] [-dDhv] [-E] <route>  

DESCRIPTION

Open <route> using habitat's route addressing and send the data to stdout.

See clockwork(1) for an explination of the route syntax  

OPTIONS

-c <purl>
Append user configuration data from the route <purl>, rather than the default file ~/.habrc.
-C <cfcmd>
Append a list of configuration directives from <cfcmd>, separated by semicolons.
-d
Place ghabitat in diagnostic mode, giving an additional level of logging and sending the text to stderr rather than the default or configured destinations. In daemon mode, will send output to the controlling terminal.
-D
Place ghabitat in debug mode. As -d above but generating a great deal more information, designed to be used in conjunction with the source code. Also overrides normal outputs and will send the text to stderr. In daemon mode, will send output to the controlling terminal.
-e <fmt>
Change the logging output to one of eight preset alternative formats, some showing additional information. <fmt> must be 0-7. See LOGGING below.
-h
Print a help message to stdout and exit
-v
Print the version number to stdout and exit
-E
Escape characters in data that would otherwise be unprintable
 

EXAMPLES

To output the job table from an established datastore file used for public data collection. This uses the ringstore driver.

habget grs:var/myhost.grs,clockwork,0

To get the most recent data sample from the 60 second sys ring from the same datastore as above.

habget grs:var/myhost.grs,sys,60

To find errors that may have been generated by clockwork.

habget grs:var/myhost.grs,log,0  

AUTHORS

Nigel Stuckey <[email protected]>  

SEE ALSO

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


 

Index

NAME
SYNTAX
DESCRIPTION
OPTIONS
EXAMPLES
AUTHORS
SEE ALSO