-
Notifications
You must be signed in to change notification settings - Fork 0
Android Termux
psutil has no Android wheel and fails to build from source (platform android is not supported) — this is a limitation of the library, not of your environment. The script works around it automatically: on Android/Termux (detected via environment variables or /system/build.prop), psutil is replaced by a built-in backend that reads /proc/<pid>/* directly, the same way psutil works internally on Linux.
pkg install python
python process_analyzer_allinone.pynetworkx and requests install normally via pip. If matplotlib fails to build (common on Termux), use the precompiled package:
pkg install matplotlibOr let install.sh handle everything (it detects Termux automatically).
The Termux repositories provide an ollama package. install.sh (and the wizard) tries it automatically, then downloads the mini model llama3.2:1b (~1.3 GB), suited to a mobile device's RAM and storage. Manual setup:
pkg install ollama
ollama serve &
ollama pull llama3.2:1bIf the package is unavailable in your Termux version, the analysis simply continues without AI.
- Without root, Android limits visibility to the current user's processes (SELinux /
hidepid) — other apps' processes appear invisible or access-denied, never as an error. - CPU% is an average since process start (cumulative CPU time ÷ age), not a real-time snapshot — fine for sorting/prioritizing, not for precise load monitoring.
- Only IPv4 TCP/UDP connections and UNIX sockets are decoded by the lightweight backend; IPv6 is not.
-
No compiled executable is possible — PyInstaller does not target Android. Run the script directly with
python.
Proc_Map_Analyzer · MIT License · Local-first: your process data never leaves your machine.
Setup
Usage
Concepts
Platforms
Help