サービス構成リポジトリは、データのソースに応じて、レイヤーにプロパティーデータを格納します。svcprop と svccfg のどちらのコマンドでも、プロパティー値のソースであるレイヤーを表示できます。svcprop コマンドおよび svccfg コマンドの -l オプションには、情報を表示するレイヤーを指定する引数が必要です。引数値は、manifest、system-profile、site-profile、および admin です。出力には、特定のプロパティー値の設定がサービスマニフェストで行われたか、プロファイルで行われたか、管理者によって行われたかが示されます。レイヤーについては、リポジトリレイヤーを参照してください。キーワード all は、すべてのレイヤーを表す別名です。指定したレイヤーが必要なプロパティー値のソースでない場合、出力は表示されません。
次のコマンドは、プロパティー値の一部はサービスマニフェストからのものであり、一部は管理者が設定したものであり、プロパティーの一部は複数のレイヤーに値があることを示します。pkg/readonly プロパティーは、サービスマニフェストに値が設定されており、管理者もその同じ値を設定します。別々のレイヤーの値は異なる可能性があります。
$ svcprop -l all -p pkg pkg/server:s11 pkg/port count admin 81 pkg/inst_root astring admin /export/ipsrepos/Solaris11 pkg/address net_address manifest pkg/cfg_file astring manifest "" ... pkg/readonly boolean manifest true pkg/readonly boolean admin true ...
svccfg listprop コマンドの -l オプションは、引数 current を取ることもできます。current を -l の引数として使用すると、-l オプションを使用しない場合に表示されるものと同じプロパティー値が表示されます。出力における唯一の違いは、レイヤーの名前も表示される点です。サービス構成リポジトリは非永続データのレイヤー情報を格納しないので、非永続データはレイヤー名を表示しません (3 番目の列には <none> と表示されます)。非永続プロパティーグループには通常、アクティブなプログラム状態が保持され、非永続プロパティーグループ内のプロパティーの値はシステムブート中にクリアされます。
$ svccfg -s pkg/server:s11 listprop -l current pkg application admin pkg/inst_root astring admin /export/ipsrepos/Solaris11 pkg/port count admin 81 general framework admin general/complete astring manifest general/enabled boolean admin true restarter framework <none> NONPERSISTENT restarter/logfile astring <none> /var/svc/log/application-pkg-server:default.log restarter/contract count <none> 121 restarter/start_pid count <none> 1055 restarter/start_method_timestamp time <none> 1379605275.329096000 restarter/start_method_waitstatus integer <none> 0 restarter/auxiliary_state astring <none> dependencies_satisfied restarter/next_state astring <none> none restarter/state astring <none> online restarter/state_timestamp time <none> 1379605275.332259000