Android CPU & CPUSET Viewer by using electorn, adbkit. For more information, see the Blog
adb_viewer is a realtime android resource viewer (CPU Usage, CPU Frequency, CPUSET Configuration, Running process by cpuset) using Node.js, electron and adbkit. It work at Quad Core Processor. (LG V10,V20,G5,G6, Google Pixel)
CPUSET Viewer function is only able to use Daydream ready Android phone(Google Pixel), or you can easily enable CPUSETs kernel feature.
- Node.js >= 6.0
- adbkit
- collections
- bluebird
- electron-pug
- asar
- electron
- electron-installer-squirrel-windows
- electron-packager
git clone https://github.com/dgjung0220/adb_viewer.git
cd adb_viewer
npm start
cat /proc/stat
cat /sys/devices/system/cpu/cpuX/cpufreq/scaling_cur_freq
cat /dev/cpuset/cpus
cat /dev/cpuset/foreground/cpus
cat /dev/cpuset/background/cpus
cat /dev/cpuset/system-background/cpus
cat /dev/cpuset/top-app/cpus
cat /dev/cpuset/foreground/tasks
cat /dev/cpuset/background/tasks
cat /dev/cpuset/system-background/tasks
cat /dev/cpuset/top-app/tasks
You can find more information in my blog(in Korean) post
add below scripts code in package.json, it will start after starting program.
"scripts": {
"start": "electron .",
"poststart" : "electron-packager . cpuViewer --asar --platform win32 --arch x64 --out dist/"
},
cd adb_viewer
node installer.js
You can find ./dist/installer folder extension in project file.
ISC License. Copyright © 2017, bearpot, Donggoo Jung