J'ai une nouvelle installation de CentOS 7 et j'ai remarqué que mon fichier / var / log / messages est plein de messages comme celui-ci
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.
Que signifient tous ces éléments et pourquoi sont-ils là? Si c'est un bruit de fond normal, cela semble être un énorme gaspillage de ressources pour enregistrer cela ...
if $programname contains "systemd"
parce que le nom du programme est appelésystemd-logind