From bcb0b799547f18d54599d0f157aeed25efc8fd39 Mon Sep 17 00:00:00 2001 From: Erikson Tung Date: Thu, 3 Nov 2022 14:34:57 -0700 Subject: [PATCH] logdog: add systemd analyze commands to common.conf This adds 'systemd-analyze blame' and 'systemd-analyze critical-chain' for our systemd target units to 'logdog.common.conf'. This information is useful for boot time analysis. --- sources/logdog/conf/logdog.common.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/logdog/conf/logdog.common.conf b/sources/logdog/conf/logdog.common.conf index 84f31dc15d9..c00a0631e9c 100644 --- a/sources/logdog/conf/logdog.common.conf +++ b/sources/logdog/conf/logdog.common.conf @@ -8,6 +8,8 @@ exec iptables-nat iptables -nvL -t nat exec journalctl-boots journalctl --list-boots --no-pager exec journalctl.errors journalctl -p err -a --no-pager exec journalctl.log journalctl -a --no-pager +exec systemd-analyze-blame systemd-analyze blame --no-pager +exec systemd-analyze-critical-chain systemd-analyze critical-chain --no-pager preconfigured.target configured.target multi-user.target # file copy does not work for this, use cat command instead exec proc-mounts cat /proc/mounts exec signpost signpost status