summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2015-10-30 12:25:54 +0000
committer android-build-merger <android-build-merger@google.com> 2015-10-30 12:25:54 +0000
commitf3487de9f1efcc154aa7df6eb7d3f569b87fd1c3 (patch)
tree6aafd52b42d5b18fb94928a55125173ab9fae795
parentcc5163d36dac7f47cd1a109fb8d41e903bbd7d5e (diff)
parent257df4e79a7fc53406fd39f1417611d6e1cac316 (diff)
Merge "Add a few instructions to setup-buildbot-devices.sh"
am: 257df4e79a * commit '257df4e79a7fc53406fd39f1417611d6e1cac316': Add a few instructions to setup-buildbot-devices.sh
-rwxr-xr-xtools/setup-buildbot-device.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/setup-buildbot-device.sh b/tools/setup-buildbot-device.sh
index 7faf86ed5c..d5b89897e5 100755
--- a/tools/setup-buildbot-device.sh
+++ b/tools/setup-buildbot-device.sh
@@ -30,3 +30,10 @@ adb shell ifconfig
echo -e "${green}List properties${nc}"
adb shell getprop
+
+echo -e "${green}Uptime${nc}"
+adb shell uptime
+
+echo -e "${green}Kill stalled dalvikvm processes${nc}"
+processes=$(adb shell "ps" | grep dalvikvm | awk '{print $2}')
+for i in $processes; do adb shell kill -9 $i; done