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-removeNone -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.cldor on NTC:\pmdf\lib\pmdf.cld.
The
pmdf clbuildutility compiles a command line definition file and loads the resulting image file into shared memory.PMDF ships with a pre-compiled command line definition image so it is not normally necessary to run this utility.
-debugThe
-nodebug(default)-debugqualifier causespmdf clbuildto output debug information regarding its operation.
-image_file=file-specBy default,
-noimage_file(default)pmdf clbuilddoes not produce a compiled command definition image file. In order to produce a compiled command definition file, the file to produce must be specified using the-image_filequalifier. Note that the PMDF tailor file option PMDF_COMMAND_DATA may be specified as the image file-spec, if the goal is to produce a compiled version of the main PMDF command definition file,/pmdf/lib/pmdf.cld.
-maximumThe file
-nomaximum(default)/pmdf/table/maximum_command.datis read when-maximumis 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_fileand-option_filequalifiers 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-maximumto 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 clbuildinvocation.
-option_file[=file-spec]
-nooption_file(default)pmdf clbuildcan 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_filequalifier causes this file to read as input and a new such option file created as output. If-option_fileis 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.cldwas the input parameter, then the default name for the output command option file would be/pmdf/lib/pmdf.cop. If the-nooption_filequalifier is specified (the default), then no option file will be output. Note that use of the-maximumqualifier causespmdf clbuildto read options frommaximum_command.datin 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_filequalifier should always be specified when-maximumis 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
-sizesThe
-nosizes(default)-sizesqualifier instructspmdf clbuildto output information on the sizes of the uncompiled command definitions.
-statisticsThe
-nostatistics(default)-statisticsqualifier instructspmdf clbuildto 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_filequalifier is needed.
The standard command used to compile the basic PMDF command definition file is on UNIX:
# pmdf clbuild -option_file -image_file=PMDF_COMMAND_DATA /pmdf/lib/pmdf.cldor on NT:C:\> pmdf clbuild -option_file -image_file=PMDF_COMMAND_DATA C:\pmdf\lib\pmdf.cld