lilligantmatsuri / serverstatus Goto Github PK
View Code? Open in Web Editor NEWThis project forked from toyodadoubi/serverstatus-toyo
提供 Web 界面的云探针,实时展示网络连接、CPU、内存、硬盘容量等数据
This project forked from toyodadoubi/serverstatus-toyo
提供 Web 界面的云探针,实时展示网络连接、CPU、内存、硬盘容量等数据
由于编码类型不兼容,当前客户端程序在 Python 3 下报错:
Caught Exception: a bytes-like object is required, not 'str'
该问题导致服务端无法接收客户端信息。
改进方案:
由于 platform.linux_distribution()
属性在 Python 3.5 中已废弃(3.5.9 Documentation),在 3.8 正式被移除(issue28167),因此会产生以下异常:
Caught Exception: module 'platform' has no attribute 'linux_distribution'
该问题位于获取 TCP 连接数的函数 get_load()
:
ServerStatus/client/status-client.py
Lines 54 to 56 in 73a962d
解决方案:
三种发行版均默认支持 systemd,当前脚本采用的服务管理程序仍为 init。
改进方案:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.