NetWorker command:      hasys

NAME

       hasys - Host Agent system information module


SYNOPSIS

       hasys -h

       hasys [ -f  schema file ] [ -L  | -l  log file ] [ -v ]

       hasys -n [ -f  schema file ] [ -L  | -l  log file ] [ -v ]

       hasys -g [ -f  schema file ] [ -L  | -l  log file ] [ -v ]


DESCRIPTION

       The hasys program is used to collect a pre-defined set of system infor-
       mation from the local host. The collected information is used to update
       a  local  RAP database or dumped to the standard output if -n option is
       selected.

       The set of information collected by hasys is defined in an ASCII schema
       file   specified   by   the   -f  option  and  has  the  default  value
       schema/hasys.sch.  Each line in the schema  file  represents  a  single
       attribute   and  my  have  one  or  more  values  associated  with  it.
       Attributes other than resource type and  version  number  are  used  to
       determine  the  type  of  information to be reported by hasys.  A given
       pieces of information will not be collected or reported if the  associ-
       ated  attribute is commented out with # or remove from the schema file.
       Note that attributes resource type and version number are part of every
       schema  file and should not be removed or commented out.  A schema file
       will be rejected if one or more essential attributes are missing or the
       value  associated with the version number does not match that of hasys.
       hasys can be used to generate a fresh schema file using the -g  option.

       The  system  information  reported  by  hasys  is  defined  in the file
       hasys.sch as follows:

       IP address
              IP address(s) for the local host

       aliases
              Aliases if any.

       kernel architecture

       CPU type

       machine type
              Work station or server.

       number of CPUs

       OS type
              Type of operating system running on local host.

       physical memory (bytes)
              Size, in bytes, of physical memory installed on local host.

       -L     Tells  hasys  that  any logging information should be written to
              the default application logfile - this file is named hasys.log ,
              and  will  be  located  in the applogs subdirectory of your Net-
              Worker installation directory. Only one of -L or -l may be spec-
              ified - not both. If  neither -L or -l is specified in the argu-
              ments to hasys then any logging information will be  printed  on
              stdout and stderr.

       -l log file
              Allows you to specify the name of the file that hasys will write
              its log to. Only one of -L or -l may be specified - not both. If
              neither -L or -l is specified in the arguments to hasys then any
              logging information will be printed on stdout and stderr.

       -n     Dump the collected information to the standard  output;  do  not
              update the local RAP database.

       -g     Generate  a  new  schema  file  for hasys after renaming the old
              schema, if exists, to <name>.<date>.[1..]

       -h     Display a brief help message; ignore all other options.

       -v     Run in verbose mode.


EXAMPLES

       Collect system information and dump the result to the standard  output,
       do not update the local RAP data base:

                            hasys -n

       Collect system information and update the local RAP data base:

                            hasys


DIAGNOSTICS

       Some  information  may  not  be available on all systems, configuration
       problems, hardware/software limitations.   Attributes  associated  with
       missing information are assigned the value not available.


SEE ALSO

       hascsi(1) hafs(1)