mirror of
https://github.com/outbackdingo/sysadm.git
synced 2026-01-27 10:20:26 +00:00
609bba2ded0abcb0074070de60da3ae68f37bf3a
if the "coretemp" module isn't loaded, it will be loaded beforehand
REST Request:
-------------------------------
PUT /sysadm/systeminfo
{
"action" : "cputemps"
}
REST Response:
-------------------------------
{
"args": {
"cputemps": {
"cpu0": "27.0C",
"cpu1": "34.0C",
"cpu2": "33.0C",
"cpu3": "31.0C"
}
}
}
WebSocket Request:
-------------------------------
{
"args" : {
"action" : "cputemps"
},
"id" : "fooid",
"name" : "systeminfo",
"namespace" : "sysadm"
}
WebSocket Response:
-------------------------------
{
"args": {
"cputemps": {
"cpu0": "34.0C",
"cpu1": "32.0C",
"cpu2": "34.0C",
"cpu3": "31.0C"
}
},
"id": "fooid",
"name": "response",
"namespace": "sysadm"
}
sysadm
Official repo for PC-BSD's sysadm utility and websocket server
This repo contains all the Qt5 code necessary to build the following:
sysadm-daemon - Backend daemon which handles all middleware / library
requests and functionality
sysadm-ws - Websocket server, which handles incoming requests
for both remote and local wss:// connections
sysadm - Command line interface to send/recv json requests
Description
Languages
C++
85.6%
Shell
12.7%
C
0.8%
QMake
0.6%
JavaScript
0.2%