【问题标题】:Get systemd's default limits获取 systemd 的默认限制
【发布时间】:2016-05-05 19:34:50
【问题描述】:

有没有办法找出 /etc/systemd/system.conf 文件中设置的参数的默认值?

systemd-system.conf 的手册页只是说:

When run as system instance systemd reads the configuration file
system.conf, otherwise user.conf. These configuration files contain a
few settings controlling basic manager operations.

变量被注释掉(在 user.conf + system.conf 中)并且文件 /etc/security/limits.conf 被 systemd 忽略。

那么,默认值是多少?是否都设置为无限制?

【问题讨论】:

    标签: linux limit systemd sles


    【解决方案1】:

    答案是:

    systemctl show
    

    :)

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-05-03
      • 2023-04-07
      • 2015-03-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多