Eu tenho uma nova instalação do CentOS 7 e notei que meu arquivo / var / log / messages está cheio de mensagens como esta
Mar 6 08:40:01 myhostname systemd: Started Session 2043 of user root.
Mar 6 08:40:01 myhostname systemd: Starting Session 2043 of user root.
Mar 6 08:40:01 myhostname systemd: Created slice user-1001.slice.
Mar 6 08:40:01 myhostname systemd: Starting user-1001.slice.
Mar 6 08:40:01 myhostname systemd: Started Session 2042 of user userx.
Mar 6 08:40:01 myhostname systemd: Starting Session 2042 of user userx.
Mar 6 08:40:01 myhostname systemd: Started Session 2041 of user root.
Mar 6 08:40:01 myhostname systemd: Starting Session 2041 of user root.
Mar 6 08:40:31 myhostname systemd: Removed slice user-1001.slice.
Mar 6 08:40:31 myhostname systemd: Stopping user-1001.slice.
Mar 6 08:41:01 myhostname systemd: Created slice user-1001.slice.
Mar 6 08:41:01 myhostname systemd: Starting user-1001.slice.
Mar 6 08:41:01 myhostname systemd: Started Session 2044 of user userx.
Mar 6 08:41:01 myhostname systemd: Starting Session 2044 of user userx.
Mar 6 08:41:21 myhostname systemd: Removed slice user-1001.slice.
Mar 6 08:41:21 myhostname systemd: Stopping user-1001.slice.
O que tudo isso significa e por que eles estão lá? Se isso é um ruído de fundo normal, parece um desperdício enorme de recursos para registrar isso ...
if $programname contains "systemd"
porque o nome programa é chamadosystemd-logind