nicolargo/glances — reverse-engineered prompt
Reverse engineered prompt
Build me a Python system monitor like top or htop that works on Linux, BSD, Mac, and Windows.
I want it to show a clear live dashboard in the terminal with CPU, memory, disk, network, running processes, logged in users, temperatures, voltages, fan speeds, and container info when Docker or LXC is available. It should also have a web dashboard so I can open a browser and watch a machine remotely.
Please include a simple client server mode for monitoring another computer, plus an HTTP REST API. It would be useful if it can print selected stats to the console and export them as normal text, CSV, or JSON. Add basic configuration so users can choose what they care about, and make it easy for developers to add new monitoring plugins or export targets later.
Also include a quick fetch style command that gives a short machine summary. Look up current docs online if you need to.
Want more depth? Deep Reverse