
Android adb shell
eofguo
言简刚中是君子
展开
-
adb shell 常用命令
adb shell dumpsys activity top转载 2016-04-21 10:33:46 · 492 阅读 · 0 评论 -
使用 adb shell 进行App性能采样分析及监控的思路
1、执行: adb shell dumpsys meminfo $packagename 2、获取到输出内容如:此步骤可编写代码(或编写Eclipse插件)来获取到输出内容,进而获取到对应的内存等信息:1、做到自动采样App在执行过程中的内存等信息2、动态监控App的内存等信息注:其他adb命令也类似,可以相应采样或监控相关指标原创 2016-04-21 15:17:11 · 2200 阅读 · 0 评论 -
Python.PyADB -- Python的ADB交互接口
Python的ADB交互接口 PyADBhttp://www.open-open.com/lib/view/open1340862229717.htmlPyADBhttps://github.com/sch3m4/pyadbhttps://github.com/sch3m4/pyadb/downloadsPython实现的基于ADB的Android远程工具https转载 2016-10-12 16:29:39 · 7100 阅读 · 0 评论 -
ADB远程调试/网络调试
前提:PC和手机在同一个网段下。步骤:1、在手机上方法A:安装"Wireless Adb",启动"Wireless Adb"并打开开关方法B:在手机的Shell终端执行:susetprop service.adb.tcp.port 5555stop adbdstart adbd2、在PC上使用cmd,执行:adb connect ip (如:adb connec原创 2016-10-12 16:34:06 · 8117 阅读 · 0 评论 -
Python -- 扫描局域网可用端口
do_scan_port.py#!/usr/bin/env python# -*- coding: gbk -*-# -*- coding: utf_8 -*-import socketfrom do_valid_ip import *# 扫描指定IP端口def test_port(dst,port): os.system('title '+str(port))原创 2016-11-01 20:23:24 · 3243 阅读 · 0 评论