Previous | Contents | Index |
Compile a PMDF command definition file and load the resulting image file into shared memory.
pmdf clbuild cld-file-spec
Command Qualifiers Defaults -debug
-nodebug
-image_file=
file-spec-noimage_file
-maximum
-nomaximum
-option_file=
file-spec-nooption_file
-remove
None -sizes
-nosizes
-statistics
-nostatistics
Must have superuser privileges (UNIX) or be logged in as Administrator (NT) in order to use this utility.
cld-file-spec
The file specification of a PMDF command definition file to read as input; e.g., on UNIX/pmdf/lib/pmdf.cld
or on NTC:\pmdf\lib\pmdf.cld
.
The
pmdf clbuild
utility compiles a command line definition file and loads the resulting file into shared memory.PMDF ships with a pre-compiled command line definition image so it is not normally necessary to run this utility.
-debug
The
-nodebug
(default)-debug
qualifier causespmdf clbuild
to output debug information regarding its operation.
-image_file=
file-specBy default,
-noimage_file
(default)pmdf clbuild
does not produce a compiled command definition file. In order to produce a compiled command definition file, the file to produce must be specified using the-image_file
qualifier. Note that the PMDF tailor file option PMDF_COMMAND_DATA may be specified as the file-spec, if the goal is to produce a compiled version of the main PMDF command definition file,/pmdf/lib/pmdf.cld
.
-maximum
The file
-nomaximum
(default)/pmdf/table/maximum_command.dat
is read when-maximum
is specified. This file specifies near maximum table sizes but does not change any other command option file parameter settings. Only use this qualifier if the current table sizes are inadequate. The-noimage_file
and-option_file
qualifiers should always be used in conjunction with this qualifier---it makes no sense to output the enormous command definition image that is produced by-maximum
, but it does make sense to use-maximum
to get past size restrictions in order to build a properly sized command option file so that a properly sized command definition image can be built with a subsequentpmdf clbuild
invocation.
-option_file
[=< /code>file-spec]
-nooption_file
(default)pmdf clbuild
can optionally produce a command option file that contains correct table sizes to hold the command definitions which were just compiled (plus a little room for growth). The-option_file
qualifier causes this file to read as input and a new such option file created as output. If-option_file
is specified with no value, then the file written will have the same name as the input command definition file, but with the file extension.cop
; for instance, if the file/pmdf/lib/pmdf.cld
was the input parameter, then the default name for the output command option file would be/pmdf/lib/pmdf.cop
. If the-nooption_file
qualifier is specified (the default), then no option file will be output. Note that use of the-maximum
qualifier causespmdf clbuild
to read options frommaximum_command.dat
in addition to any command option file. This file specifies near maximum table sizes. Only use this qualifier if the current table sizes are inadequate, and only use it to create a new option file. The-noimage_file
qualifier should always be specified when-maximum
is specified since a maximum-size image would be truly enormous and extremely wasteful.Remove an existant compiled command definition image. Note that the PMDF_COMMAND_DATA name may be used to cause removal of the basic PMDF compiled command definition image, as referenced by this PMDF tailor file option (UNIX) or PMDF Tailor Registry key (NT).
-remove
-sizes
The
-nosizes
(default)-sizes
qualifier instructspmdf clbuild
to output information on the sizes of the uncompiled command definitions.
-statistics
The
-nostatistics
(default)-statistics
qualifier instructspmdf clbuild
to output information on the compiled command definition image. These numbers give a rough measurement of the efficiency of the compilation, and may indicate whether or not an additional rebuild with the-option_file
qualifier is needed.
The standard command used to compile the basic PMDF command definition file is on UNIX:
or on NT:
# pmdf clbuild -option_file -image_file=PMDF_COMMAND_DATA /pmdf/lib/pmdf.cld
C:\> pmdf clbuild -option_file -image_file=PMDF_COMMAND_DATA C:\pmdf\lib\pmdf.cld
Previous | Next | Contents | Index |