• 请不要在回答技术问题时复制粘贴 AI 生成的内容
raysonlu
V2EX  ›  程序员

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

  •  
  •   raysonlu · Apr 21, 2020 · 7388 views
    This topic created in 2213 days ago, the information mentioned may be changed or developed.

    今天为了排查一个问题,开始去翻服务器的日志,看到 /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 replies    2020-04-23 15:22:21 +08:00
    tankren
        1
    tankren  
       Apr 21, 2020
    These messages are normal and expected -- they will be seen any time a user logs in
    raysonlu
        2
    raysonlu  
    OP
       Apr 21, 2020
    @tankren 如此规律出现,这似是“they will be seen any time a user logs in”? 而且还是 root 用户?
    julyclyde
        3
    julyclyde  
       Apr 23, 2020
    用户登录、以该用户身份执行 cron 之类的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1061 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 18:42 · PVG 02:42 · LAX 11:42 · JFK 14:42
    ♥ Do have faith in what you're doing.