devicesconsole工具介绍

devicesconsole工具介绍

deviceconsole是一个手机开发时查看日志的工具。只要手机通过usb和电脑连接以后,就可以输出手机运行程序的信息。以下是deviceconsole的安装步骤。

 

安装步骤:

1) 下载该工具,见附件

2)拷贝deviceconsole文件到 /usr/local/bin 文件下

3)进入到/usr/local/bin/ 目录下,然后输入cat deviceconsole

4)直接运行命令deviceconsole

 

注意:如果拷贝不了文件及运行不了,则需要修改文件的权限。。利用chmod

 

liqindeMacBook-Pro:bin liqin$ ls deviceconsole

deviceconsole

liqindeMacBook-Pro:bin liqin$ ls -al deviceconsole

-rw-r--r--  1 liqin  wheel  20608  9 19 23:58 deviceconsole

liqindeMacBook-Pro:bin liqin$ chmod a+x deviceconsole

liqindeMacBook-Pro:bin liqin$ ls -al deviceconsole

-rwxr-xr-x  1 liqin  wheel  20608  9 19 23:58 deviceconsole

liqindeMacBook-Pro:bin liqin$ deviceconsole

^C

liqindeMacBook-Pro:bin liqin$ deviceconsole


后面就是打开终端,直接输入deviceconsole 即可使用

过滤关键词的命令例如:

deviceconsole | grep -E "test_bg|reload process|logEvent|TokenValue


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
DevCon.exe 安装驱动的工具,微软官方源码。 修正编译通过,VS2013可调试 Device Console Help: devcon.exe [-r] [-m:\\<machine>] <command> [<arg>...] -r Reboots the system only when a restart or reboot is required. <machine> Specifies a remote computer. <command> Specifies a Devcon command (see command list below). <arg>... One or more arguments that modify a command. For help with a specific command, type: devcon.exe help <command> classfilter Add, delete, and reorder class filters. classes List all device setup classes. disable Disable devices. driverfiles List installed driver files for devices. drivernodes List driver nodes of devices. enable Enable devices. find Find devices. findall Find devices, including those that are not currently attached. help Display Devcon help. hwids List hardware IDs of devices. install Install a device manually. listclass List all devices in a setup class. reboot Reboot the local computer. remove Remove devices. rescan Scan for new hardware. resources List hardware resources for devices. restart Restart devices. sethwid Modify Hardware ID's of listed root-enumerated devices. stack List expected driver stack for devices. status List running status of devices. update Update a device manually. updateni Manually update a device (non interactive). dp_add Adds (installs) a third-party (OEM) driver package. dp_delete Deletes a third-party (OEM) driver package. dp_enum Lists the third-party (OEM) driver packages installed on this machine.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值