login|Register
Forum > Python
Post|
看13754|回6|Favorite
Doumekxkai 看全部
2015-10-27 23:05:44
I made a python script that creates a web server with an API to get system information from CPU, temp etc...


API routes(<ip>:8000/route):
  • /allinfo – Shows all info
  • /cpuinfo – Shows all information of CPU(Nº cores, arquitecture, etc...)
  • /meminfo – Shwos all RAM info(RAM available, in use, paginated, etc...)
  • /sysinfo – Shows system information(Distro, time, kernel version, etc...)
  • /systemp – Shows temperature of all sensors in the machine.


You can get the script in my gist
https://gist.github.com/Kurobyte/155cd5b293d3df090cac



sidsingh 看全部
2015-11-13 13:50:32
Thanks. This is useful.
xwalter 看全部
2016-3-4 01:39:50
melanrz 看全部
2016-5-2 17:49:15
very cool,thanks
kanehad12 看全部
2023-6-23 17:42:23
Coolbreezehq is a powerful communication and productivity tool that is designed to help teams collaborate and work more efficiently. It is a cloud-based platform that enables remote workers to stay connected, share ideas, and get things done. you can check here
12NextPage

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC