projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5154180
)
t/one-core-peak: Reporting SElinux status
author
Erwan Velu
<erwanaliasr1@gmail.com>
Sun, 17 Oct 2021 19:18:40 +0000
(21:18 +0200)
committer
Erwan Velu
<erwanaliasr1@gmail.com>
Mon, 25 Oct 2021 18:33:24 +0000
(20:33 +0200)
SElinux can influence the overall performance.
Let's report its state
Signed-off-by: Erwan Velu <erwanaliasr1@gmail.com>
t/one-core-peak.sh
patch
|
blob
|
blame
|
history
diff --git
a/t/one-core-peak.sh
b/t/one-core-peak.sh
index fba4ec954528a843d6b59fb17983482fbc1648eb..08cffcd4091693a64a610ba389c491d60fda292a 100755
(executable)
--- 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"