HP Caliper Advisor Rule Writer Guide
Note that this was run on an HP-UX 11i V2 September 2004 OE system. Reports run
on other systems look similar, except that the specific advice given is unique to the
application and the system.
Command Line to Invoke the Advisor
The command line is:
$ caliper advise [advise_options] [database_list]
where advise_options are:
--advice-classes [all]|[[general][:cpu][:memory][:io][:system]]
--advice-cutoff min-index[,min-count[,max-count]]
--advice-details [all]|[[description][:improvement][:measurement]
[:explanation][:rule]]
--analysis-focus [executable:]name|all[,[executable:]name],...
–o outputfile[,append|create]
--rule-files rulefile1[,rulefile2,...]
For these options:
--advice-classes Specifies which classes of advice are printed. It can be all
or any combination of general, cpu, memory, io, or
system, separated by colons (:).
The default is all.
--advice-cutoff
Specifies how much of the advice to print. All advice is sorted
by its index value (the greater the index, the greater the
importance). min-index specifies the lowest index value of
advice to print. min-count gives the minimum number of
advice items to print while max-count gives the maximum
number. min-count takes precedence over min-index, so
if only a few pieces of advice apply, some with an index less
than min-index might be printed.
The defaults are 5.0 for min-index, 5 for min-count, and
15 for max-count.
--advice-details
Specifies what portions of advice messages are printed. It
can be all or any combination of description,
improvement, measurement, explanation, or rule,
separated by colons (:). Advice messages don’t necessarily
contain all of these portions.
The default is all.
--analysis-focus
Specifies which application object(s) to analyze and report
on. Currently, only executable programs can be analyzed, so
specifying the default focus type of executable is optional.
The object name can be all or a specific, simple executable
22 Running the HP Caliper Advisor