From 6dcd7efba525159f0e3b043013fe1a1ec0b6dd20 Mon Sep 17 00:00:00 2001 From: Lucas Meneghel Rodrigues Date: Tue, 11 Mar 2014 13:50:57 -0300 Subject: [PATCH] avocado.sysinfo: Add additional sysinfo commands and files Signed-off-by: Lucas Meneghel Rodrigues --- avocado/sysinfo.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/avocado/sysinfo.py b/avocado/sysinfo.py index e3b322b0..6035c03f 100644 --- a/avocado/sysinfo.py +++ b/avocado/sysinfo.py @@ -20,7 +20,13 @@ _DEFAULT_COMMANDS_START_JOB = ["df -mP", "mount", "hostname", "uptime", - "dmidecode"] + "dmidecode", + "ifconfig -a", + "brctl show", + "ip link", + "numactl --hardware show", + "lscpu", + "fdisk -l"] _DEFAULT_COMMANDS_END_JOB = [] _DEFAULT_FILES_START_JOB = ["/proc/cmdline", @@ -32,7 +38,10 @@ _DEFAULT_FILES_START_JOB = ["/proc/cmdline", "/proc/cpuinfo", "/proc/modules", "/proc/interrupts", - "/proc/partitions"] + "/proc/partitions", + "/sys/kernel/debug/sched_features", + "/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor", + "/sys/devices/system/clocksource/clocksource0/current_clocksource"] _DEFAULT_FILES_END_JOB = [] -- GitLab