8-)

Dec 16 03:35:01 tower systemd: Created slice User Slice of munin.
Dec 16 03:35:01 tower systemd: Started Session 802105 of user munin.
Dec 16 03:35:01 tower systemd: Created slice User Slice of root.
Dec 16 03:35:01 tower systemd: Started Session 802104 of user root.
Dec 16 03:35:02 tower systemd: Removed slice User Slice of root.
Dec 16 03:36:01 tower systemd: Created slice User Slice of root.
Dec 16 03:36:01 tower systemd: Started Session 802106 of user root.
Dec 16 03:36:01 tower systemd: Removed slice User Slice of root.
Dec 16 03:37:01 tower systemd: Created slice User Slice of root.
Dec 16 03:37:01 tower systemd: Started Session 802107 of user root.
Dec 16 03:37:01 tower systemd: Removed slice User Slice of root.
Dec 16 03:37:32 tower systemd: Removed slice User Slice of munin.
Dec 16 03:38:01 tower systemd: Created slice User Slice of root.
Dec 16 03:38:01 tower systemd: Started Session 802108 of user root.

echo 'if $programname == "systemd" and ($msg contains "Starting Session" or $msg contains "Started Session" or $msg contains "Created slice"' \
 'or $msg contains "Starting user-" or $msg contains "Starting User Slice of" or $msg contains "Removed session" or $msg contains ' \
 '"Removed slice User Slice of" or $msg contains "Stopping User Slice of") then stop' > /etc/rsyslog.d/ignore-systemd-session-slice.conf \
&& systemctl restart rsyslog

Навигация

Navigation

Печать/экспорт