The following command
extracts all the data for yesterday (d-1). It exports the data to
the output file that is named data.bin, using the template in a file
that is named reptfile.mwr. The purge parameter specifies that any
existing file is purged in order to make room for the new file. The
gapdcnt option specifies that the following types of data are to be
extracted and exported: global detail, application detail, process
detail, disk device detail, configuration detail, netif detail, and
transaction detail.
extract -xp d-1 -gapdcnt -r reptfile.mwr -f data.bin,purge -v
The log file that is
created by HP Performance Agent software can be input directly into
SAS IT Resource Management. Alternatively, you can store multiple
log files in a directory that can be input to SAS IT Resource Management.
It is advisable to
put the
extract
command into a shell,
bat, or Perl script that runs once a night by means of a scheduling
tool. (Perl is an open-source programming language that can be used
for data manipulation tasks.) Cron can be used for scheduling on UNIX
systems, and Task Manager can be used on Windows operating systems.
The extracted files from each server can then be transferred to a
centralized location to be read by SAS IT Resource Management using
the file transfer utility of your choice. Delete the older raw data
files to preserve disk space.