svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
CCadmin(1)
CCadmin(1) User Commands CCadmin(1)
NAME
CCadmin - clean the templates database; provide information from and
updates to the
database
SYNOPSIS
CCadmin [ -clean=o ] [ -ddir ] [ -info [=symbol [,...]] ]
[ -V ]
DESCRIPTION
You can use the CCadmin utility to clean the template instantiation and
source browser database (this is the same as the obsolete utility
ptclean) as well as the SunWS_cache directory.
CCadmin provides information from the database for a given list of man‐
gled filenames present in the database. The information provided for
each filename includes header file dependencies, symbols instantiated
in the file, and command line options used to compile the file.
OPTIONS
-clean=o
o must be one of the following:
pch Clean C and C++ precompiled header information.
CCpch Clean only C++ precompiled header information.
ccpch Clean only C precompiled header information.
tmpl Clean only template instantiations.
sb Clean only source browser data.
all Clean the entire cache.
CCadmin -clean means CCadmin -clean=all. The sub-options accumulate
so the commands CCadmin -clean=CCpch -clean=tmpl have the same
meaning as CCadmin -clean=CCpch,tmpl.
-ddir
Use dir as the directory containing the database. The default value
of dir is the current directory. Example: If the database directory
is /foo/bar/SunWS_cache, use:
CCadmin -d/foo/bar
-flags
Show summary of options.
-info[=symbol[,...]]
Provide information from the database about each symbol in the
list. If only -info is specified, information is printed about all
object files in the database. If a symbol list is specified, infor‐
mation is printed only for those symbols.
A symbol can be one of:
o an object file name created by the user (example: t.o)
o a mangled file name created in the database
o a string specifying a template name. If '<' or '>' is
used in the name, the name should be enclosed in quotes
to keep these characters from being treated as shell re‐
direction symbols.
If a template name is specified, CCadmin simply does a string com‐
parison and prints information about the template names starting
with that string.
-V
Print version string.
EXAMPLES
Example 1 List
Information
about all
Objects
in the
Templates
Database
CCadmin -info
Example 2 List
Information
about the
Specified
Symbols
CCadmin -info=t.o,EpuXSD5gnAQhdXWFrwohZBoZ3
Example 3 List
Information
about all
Template
Names
Starting
with
"st"
CCadmin -info=st
Example 4 List
Information
about all
Template
Names
Starting
with
"stack<int"
CCadmin -info="stack<int"
Example 5 List
Information
about all
Template
Names
Starting
with "stack<int,int>::p".
CCadmin -info="stack<int,int>::p"
FILES
./SunWS_config/CC_tmpl_opt
Replaces Template.opt.
./SunWS_cache/CC_state
Replaces Dependency.state and CDR.state.
./SunWS_cache/CC_import/
Lists imported template instantiations.
./SunWS_cache/CC_obj_[0-9@A-Z_a-z]
Places objects under two-level hierarchy.
SEE ALSO
CC(1)
Studio 12.6 May 2017 CCadmin(1)