V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
raysonlu
V2EX  ›  程序员

message 日志里面的“Created slice User Slice of root.”日志是哪里来?

  •  
  •   raysonlu · 2020 年 4 月 21 日 · 7228 次点击
    这是一个创建于 2112 天前的主题,其中的信息可能已经有所发展或是发生改变。

    今天为了排查一个问题,开始去翻服务器的日志,看到 /var/log/message 里面出现这样的日志

    "Apr 19 00:40:01 xxxx systemd: Created slice User Slice of root."

    或者

    "Apr 21 14:00:02 izwz92rlllt0iy43q1sj03z systemd: Removed slice User Slice of root."

    出现的频率大概是 10 分钟出现一次 created,每次整点出现一次 removed,removed 之后也会立刻出现一次 created

    网上搜到的都是说如何屏蔽类似的记录不写入日志,但我想知道这样的日志是怎么来的,有无大佬知道,或者有什么头绪?

    3 条回复    2020-04-23 15:22:21 +08:00
    tankren
        1
    tankren  
       2020 年 4 月 21 日
    These messages are normal and expected -- they will be seen any time a user logs in
    raysonlu
        2
    raysonlu  
    OP
       2020 年 4 月 21 日
    @tankren 如此规律出现,这似是“they will be seen any time a user logs in”? 而且还是 root 用户?
    julyclyde
        3
    julyclyde  
       2020 年 4 月 23 日
    用户登录、以该用户身份执行 cron 之类的
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1509 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 16:32 · PVG 00:32 · LAX 08:32 · JFK 11:32
    ♥ Do have faith in what you're doing.