AnotherMonitor shows the device CPU and memory status in real time.
It has two main options:
- It shows a chart and several labels wherein the values of the CPU and memory usage are updated every 0.5, 1, 2 or 4 seconds.
- It can record on a CSV file the read values for a later usage on a spreadsheet program.
When AnotherMonitor is running on the background it consumes little resources. Then it can monitor and record the CPU and memory usage of other applications on the foreground.
AnotherMonitor adds a Record and Close button to the AnotherMonitor entry on the notification drawer.
How CPU and memory usage are obtained
In order to get the CPU usage the app does NOT make use of the top command from Linux but instead it parses /proc/stat and rest of process folders from the procfs file system and work out the calculations with the user and system time. This is implemented on ServiceReader.class. Find more information about this on Calculating CPU usage of a process in Linux - Stack Overflow.
About multi-core devices
The app does not support showing values for a specific core in multi-core devices. It will show an average of all the device's cores.
Retrieving processes info since Android Lollipop 5.1 (API 22, March 2015)