A raw data file of BMC
Perf Mgr history data can be generated in two ways:
-
extracting data from the BMC Perf
Mgr History Knowledge Module
The history knowledge
module organizes the collection of the history data and ensures that
it is sent to a central server from which it can be extracted. For
more information about this method, see the documentation from BMC
Perf Mgr about the History Loader Knowledge Module.
-
extracting data by using the
dump_hist.exe
command
This command extracts
the same history data that is extracted from the History Knowledge
Module. However, it does not manage the transferal of the data to
a central location. (This option is useful if you prefer writing your
own scripts to control the extraction and transferal of the data to
a central location.)
Note: When transferring the history
data across platforms, ensure that the data retains its ASCII text
format.
Although these two methods
produce slightly different output, both can be processed by the staging
transformation of SAS IT Resource Management. The BMC Perf Mgr Operator
Console retrieves the historical data that is stored by the Agent.
The
dump_hist
line command copies the
parameter history data that is maintained by the BMC Perf Mgr Agents.
The BMC Perf Mgr Agent Reference Manual contains more detailed information
about the
dump_hist
command. (The dump_hist.exe
program is provided as part of the BMC Performance Manager software.)
The following command
copies parameter history data for one day for the file that is indicated
by
filename. The command uses
start (-s) and end (-e) parameters to specify the date and time of
data that is to be copied. The format of these parameters is
MMddhhmm[yyyy]
, where
-
-
-
-
-
yyyy= year, which is optional
The following code copies
the full day of data from July 18, 2007.
- dump_hist -s 071800002007 -e 071823592007 > filename
The following example
shows the format of the text file that is created by the preceding
dump_hist
command. This file can be input to the
staging transformation of SAS IT Resource Management.
machinename/NT_CPU.CPU_0/CPUprcrUserTimePercent
Thu Jul 18 10:00:57 2007 26.981
Thu Jul 18 10:01:58 2007 5.35963
Thu Jul 18 10:02:58 2007 0.598205
Thu Jul 18 10:03:58 2007 0.333915
machinename/NT_CPU.CPU_0/CPUprcrPrivTimePercent
Thu Jul 18 10:00:57 2007 61.0279
Thu Jul 18 10:01:58 2007 1.20528
Thu Jul 18 10:02:58 2007 1.56053
Thu Jul 18 10:03:58 2007 1.05312
machinename/NT_SYSTEM.NT_SYSTEM/SYSsysTotalProcTimePercent
Thu Jul 18 10:00:57 2007 88.013
Thu Jul 18 10:01:58 2007 6.56211
Thu Jul 18 10:02:58 2007 2.1812
Thu Jul 18 10:03:58 2007 1.36592
To dump data for a single
server, add the
—host
<hostname> parameter to the previous command.
The command then dumps a full day of data for the single server that
is identified by
<hostname>.
For additional information
about the syntax of the
dump_hist
,
see the
PATROL® Script Language Reference Manual.