查看CPU是几核
# cat /proc/cpuinfo | grep ^processor | wc -l8
查看CPU有几个核在运行
# cat /sys/devices/system/cpu/online                                0-1,4-7
查看系统支持多少个核:
# cat /sys/devices/system/cpu/present                               0-7
开启某个CPU核
# echo 1 > /sys/devices/system/cpu/cpu#/online

注: #为数字,标识哪个CPU核,如八核CPU, 则#取值为0~7

查看CPU核的运行频率
# cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq     960000
查看CPU核动态调频的Governor
# /sys/devices/system/cpu/cpu0/cpufreq/scaling_governorinteractive
查看当前CPU核的温度
# cat /sys/class/thermal/thermal_zone9/temp42

注: SoC系统往往有多个thermal sensor, 需要分辨监测CPU核温度的是哪些sensor,
Qualcomm平台可参考/system/etc/thermal-engine.conf文件.

更多相关文章

  1. Linux Android(安卓)反编译
  2. Android(安卓)ADB命令大全(通过ADB命令查看wifi密码、MAC地址、
  3. 运行时动态注销在AndroidManifest.xml声明的BroadcastReceiver,En
  4. Android(安卓)APK 签名(图)
  5. 查看android sqlite数据库常用操作
  6. Linux设置qt-android开发环境
  7. Android(安卓)自动化测试框架-百度cafe
  8. Android(安卓)Studio 4.0 新功能之Live Layout Inspector
  9. android应用开机自动运行程序

随机推荐

  1. Android(安卓)Relativelayout布局属性
  2. android触摸实现方式
  3. android弹出消息框
  4. Android(安卓)禁止转屏的方法
  5. Android(安卓)多个Module使用ButterKnife
  6. android traceview分析
  7. android之location01
  8. android 键盘显示与隐藏
  9. Android(安卓)Style.xml 详解
  10. 【Android】hwbinder的selinux配置