V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
raysonlu
V2EX  ›  程序员

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

  •  
  •   raysonlu · 2020-04-21 15:46:13 +08:00 · 6851 次点击
    这是一个创建于 1479 天前的主题,其中的信息可能已经有所发展或是发生改变。

    今天为了排查一个问题,开始去翻服务器的日志,看到 /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-04-21 17:01:10 +08:00
    These messages are normal and expected -- they will be seen any time a user logs in
    raysonlu
        2
    raysonlu  
    OP
       2020-04-21 18:17:45 +08:00
    @tankren 如此规律出现,这似是“they will be seen any time a user logs in”? 而且还是 root 用户?
    julyclyde
        3
    julyclyde  
       2020-04-23 15:22:21 +08:00
    用户登录、以该用户身份执行 cron 之类的
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1078 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 19:24 · PVG 03:24 · LAX 12:24 · JFK 15:24
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.