From b4db4c4b791b835273a335931190337178fc01a7 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Thu, 22 Jan 2015 08:31:19 +0100 Subject: FMUv2 test config: Enable top during boot --- ROMFS/px4fmu_test/init.d/rcS | 7 +++++++ makefiles/config_px4fmu-v2_test.mk | 1 + 2 files changed, 8 insertions(+) diff --git a/ROMFS/px4fmu_test/init.d/rcS b/ROMFS/px4fmu_test/init.d/rcS index 40b3500e0..e48a3e152 100644 --- a/ROMFS/px4fmu_test/init.d/rcS +++ b/ROMFS/px4fmu_test/init.d/rcS @@ -68,6 +68,13 @@ else fi fi +# +# Print load and memory usage +# +top --once +free +ls /dev + # # The presence of this file suggests we're running a mount stress test # diff --git a/makefiles/config_px4fmu-v2_test.mk b/makefiles/config_px4fmu-v2_test.mk index bc6723e5f..91fc2a751 100644 --- a/makefiles/config_px4fmu-v2_test.mk +++ b/makefiles/config_px4fmu-v2_test.mk @@ -32,6 +32,7 @@ MODULES += systemcmds/tests MODULES += systemcmds/nshterm MODULES += systemcmds/mtd MODULES += systemcmds/ver +MODULES += systemcmds/top # # Testing modules -- cgit v1.2.3