diff options
| author | 2015-10-30 12:25:54 +0000 | |
|---|---|---|
| committer | 2015-10-30 12:25:54 +0000 | |
| commit | f3487de9f1efcc154aa7df6eb7d3f569b87fd1c3 (patch) | |
| tree | 6aafd52b42d5b18fb94928a55125173ab9fae795 | |
| parent | cc5163d36dac7f47cd1a109fb8d41e903bbd7d5e (diff) | |
| parent | 257df4e79a7fc53406fd39f1417611d6e1cac316 (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-x | tools/setup-buildbot-device.sh | 7 |
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 |