From 5d56ec6a90d9e5c2641f8d877acaf8a377dbc250 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Sun, 17 Oct 2021 21:18:40 +0200 Subject: [PATCH] t/one-core-peak: Reporting SElinux status SElinux can influence the overall performance. Let's report its state Signed-off-by: Erwan Velu --- t/one-core-peak.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/t/one-core-peak.sh b/t/one-core-peak.sh index fba4ec95..08cffcd4 100755 --- a/t/one-core-peak.sh +++ b/t/one-core-peak.sh @@ -241,6 +241,7 @@ show_system() { info "system" "KERNEL: $(show_kernel_config_item ${config_item})" done info "system" "KERNEL: $(cat /proc/cmdline)" + info "system" "SElinux: $(getenforce)" tsc=$(journalctl -k | grep 'tsc: Refined TSC clocksource calibration:' | awk '{print $11}') if [ -n "${tsc}" ]; then info "system" "TSC: ${tsc} Mhz" -- 2.25.1