• 已解决 73482 个问题
  • 已帮助 5993 位优秀工程师

adb shell top指令

liulishiyi 2018-11-09 浏览量:857
adb shell top指令对于输出的结果能不能再次进行计算呀
0 0 收起

我来回答

上传资料:
选择文件 文件大小不超过15M(格式支持:doc、ppt、xls、pdf、zip、rar、txt)
最佳答案
  • >adb shell top -h
    Usage: top [ -m max_procs ] [ -n iterations ] [ -d delay ] [ -s sort_column ] [-t ] [ -h ]
        -m num  Maximum number of processes to display. 最多显示多少个进程
        -n num  Updates to show before exiting.  刷新次数 
        -d num  Seconds to wait between updates. 刷新间隔时间(默认5秒)
        -s col  Column to sort by (cpuvssrssthr). 按哪列排序 
        -t      Show threads instead of processes. 显示线程信息而不是进程
        -h      Display this help screen.  显示帮助文档


    • 发布于 2018-11-11
    • 举报
    • 评论 1
    • 0
    • 0
liulishiyi 回复了 megar:能不能读取返回的结果,然后对结果进行处理 回复

其他答案 数量:4
  • 再次计算?

    不会是要搜索某些字串吧?

    用 | grep

    • 发布于2018-11-09
    • 举报
    • 评论 2
    • 0
    • 0
liulishiyi 回复了 yan_jian :能搜索出来这些字符,拆分开然后进行计算,将计算的结果输出吗? 回复
yan_jian 回复了 yan_jian :没做过,估计没法用简单方法做 回复

  • 可以排序显示进程!https://blog.csdn.net/kittyboy0001/article/details/38562515
    • 发布于2018-11-11
    • 举报
    • 评论 0
    • 0
    • 0

  • 可以去看看android执行shell命令top 命令解析
    • 发布于2018-11-25
    • 举报
    • 评论 0
    • 0
    • 0

  • 参考这个https://blog.csdn.net/kittyboy0001/article/details/38562515
    • 发布于2018-12-14
    • 举报
    • 评论 0
    • 0
    • 0

相关问题

问题达人换一批

adb shell top指令