Changes were made to the application/pkg/server:default service when an administrator made
modifications to add a local package repository.
Which command should be used to identify the changes that were made to the
application/pkg/server:default service?
A.
svcs –l application/pkg/server:default
B.
svcs –vx application/pkg/server:default
C.
svccfg –s application/pkg/server listprop
D.
svccfg –s application/pkg/server:default listcust –L
E.
svccfg –s application/pkg/server listpg
Explanation:
Example:
List all configuration changes that have been made in the SMF configuration repository to the
name-service/switch service:
# svccfg -s name-service/switch listcust –L
B
I think you’re wrong.
C is correct because with svccfg …. listprop you can list SMFs properties and that wast the question.
D
How can we find a masked service.
# svccfg listcust -M | grep svc:/mysvc
svc:/mysvc manifest MASKED
svc:/mysvc:default manifest MASKED
The first line of output shows that the service is masked. Masking a service also masks it instances which is why we see the second line.
https://blogs.oracle.com/SolarisSMF/entry/changes_to_svccfg_import_and
D
List all configuration changes (at all layers) to svc:/system/nameservice/switch:default:
# svccfg –s switch:default listcust -L