adb shell 和iperf 使用记录

来源:互联网 发布:python微信公众号开发 编辑:程序博客网 时间:2024/06/04 00:59

adb  shell 基本用法(首先进入 adb 文件所在的目录

1.adb shell 连接到手机命令行

2.adb push/pull  上传和下载文件

   用例:adb push ./iperf/iperf_version /data/local/tmp


错误解决:

提示错误:device unauthorized. Please check the confirmation dialog on your device.

解决方法:

法1:adb kill-server

         adb shell

法2:关闭开发者选项/USB调试,再打开


-----------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------


iperf 工具使用

这里写的很清楚,我就不重复了:iperf使用

简单的udp使用方式:1.服务端:iperf  -s -u

                                  2.客户端:iperf -c ip地址 -t 60 -i 2  

--------------------------------------------------------------------------------------------------

--------------------------------------------------------------------------------------------------


adb shell和iperf工具链接:adb和iperf工具下载地址

原创粉丝点击