Skip to content

Historical: Linux-based prototype

Performance monitoring

This page documents the earlier Linux-based prototype as of 24 November 2026. It does not describe the independent Khelforge OS, and its steps are not instructions for it. See the independent Khelforge OS.

ImplementedRecorded statusLast verified

Task Manager shows live processor, memory and temperature readings from the kernel. It runs without privileges and changes nothing. It was checked with unit tests, offscreen GUI tests and on one development laptop.

Reading Source Notes
CPU use, total /proc/stat Needs two samples before it can show a value
CPU use per process /proc/PID/stat Share of the whole machine
CPU model and logical processors /proc/cpuinfo Model as the kernel reports it
CPU frequency Kernel frequency data Mean of all cores
CPU package temperature Kernel sensor data, coretemp or k10temp only Other sensors are ignored
Memory, available, cache /proc/meminfo Available memory, not just free
Swap /proc/meminfo Includes zram
Memory pressure /proc/pressure/memory Short averages
zram Kernel zram data Read-only
Process memory and swap /proc/PID/status Approximate. Shared pages are counted more than once
GPU name Kernel graphics data Vendor and driver only

Readings refresh every few seconds. Charts cover the last two minutes. The process list limits how many processes it scans and shows.

GPU utilisation, video memory, GPU temperature, FPS and frame pacing, package power, fan speed, disk activity and network activity. Each carries its reason. None is estimated.

  • Unit tests read recorded system data, including malformed values.
  • The GUI tests capture every page at three window sizes and fail if content overflows. They exercise sorting, search, selection and the End Task dialog, which is always cancelled.
  • On the development laptop, all pages and sizes were checked with the NVIDIA renderer.
  • Monitoring is not benchmarking. There is no recording, export or history beyond two minutes.
  • Sampling runs on the interface thread. See desktop responsiveness.
  • CPU temperature sensors other than the two named show Unavailable.
  • There is no reading per core.
  • The resource cost of Task Manager itself has not been measured.