unscd - 統計オプションは適用されません。

unscd - 統計オプションは適用されません。

私はDebian jessieにunscdをインストールしました。

ii  unscd                          0.51-1+b2                          amd64        Micro Name Service Caching Daemon

構成は次のとおりです。

server-user unscd
debug-level 0

enable-cache            passwd  yes
positive-time-to-live   passwd  600
negative-time-to-live   passwd  20
suggested-size          passwd  1001
check-files             passwd  yes

enable-cache            group   yes
positive-time-to-live   group   3600
negative-time-to-live   group   60
suggested-size          group   1001
check-files             group   yes

enable-cache            hosts   yes
positive-time-to-live   hosts   3600
negative-time-to-live   hosts   20
suggested-size          hosts   1001
check-files             hosts   yes

しかし、以下を使用して統計を確認したい場合:

nscd -g

私は何の結果も得られません。戻りコードは0です。

何が問題なのかご存知ですか?それとも私が何かを見逃しているのでしょうか?

ベストアンサー1

必要な操作を実行するには、nscdのレガシーバージョンを使用する必要があります。

apt-get remove unscd 
apt-get install nscd 

unscdは予期したものとは異なり、nscdのスタンドアロンバージョンのようです(より少ないパケットによって異なります)。参考https://packages.debian.org/pt-br/jessie/unscdより多くの情報を知りたいです。

おすすめ記事