adb -s emulator-5580 shell 'stop; sleep 5; start'

adb -s emulator-5580 logcat