aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2015-01-22 08:31:19 +0100
committerLorenz Meier <lm@inf.ethz.ch>2015-01-22 08:31:19 +0100
commitb4db4c4b791b835273a335931190337178fc01a7 (patch)
tree29006cfe28eb9993dbba1a898e7bde997dbd0469
parent26d46239dcb6f6791e837d1f36b9205681d65e18 (diff)
downloadpx4-firmware-top_once.tar.gz
px4-firmware-top_once.tar.bz2
px4-firmware-top_once.zip
FMUv2 test config: Enable top during boottop_once
-rw-r--r--ROMFS/px4fmu_test/init.d/rcS7
-rw-r--r--makefiles/config_px4fmu-v2_test.mk1
2 files changed, 8 insertions, 0 deletions
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
@@ -69,6 +69,13 @@ else
fi
#
+# Print load and memory usage
+#
+top --once
+free
+ls /dev
+
+#
# The presence of this file suggests we're running a mount stress test
#
if [ -f /fs/microsd/mount_test_cmds.txt ]
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