Resource Monitor brings basic system information into a terminal display refreshed every two seconds. It is a small script from 2017, designed to inspect a machine without building a graphical interface.
What it displays#
The output groups four kinds of information: operating system identification, processor details, memory usage and root disk utilization. It includes processor architecture, core count and utilization percentages.
It uses psutil for CPU, memory and disk queries, platform to identify the system and processor, and multiprocessing to obtain the core count. Each group has its own function, called by the main loop before waiting for the next interval.
Repeated point-in-time readings#
The program prints successive readings two seconds apart. It does not store a historical series, calculate trends or raise alerts: the display reflects the queries made at that moment. Execution is interrupted from the terminal.
The preserved file uses Python 2 syntax and needs adaptation for a modern interpreter. Each resource has its own function, so the queries and output format can be read separately.