Kris Moore c9e4b2479a Add a new API call to "systeminfo" class, which returns
information about all processes on the system.

The below example was greatly truncated ;)

REST Request:
-------------------------------
PUT /sysadm/systeminfo
{
   "action" : "procinfo"
}

REST Response:
-------------------------------
{
    "args": {
        "procinfo": {
                  "228": {
        "command": "adjkerntz",
        "cpu": "3",
        "nice": "0",
        "pri": "52",
        "res": "1968K",
        "size": "8276K",
        "state": "pause",
        "thr": "1",
        "time": "0:00",
        "username": "root",
        "wcpu": "0.00%"
          }
        }
    }
}

WebSocket Request:
-------------------------------
{
   "id" : "fooid",
   "namespace" : "sysadm",
   "name" : "systeminfo",
   "args" : {
      "action" : "procinfo"
   }
}

WebSocket Response:
-------------------------------
{
  "args": {
    "procinfo": {
      "228": {
        "command": "adjkerntz",
        "cpu": "3",
        "nice": "0",
        "pri": "52",
        "res": "1968K",
        "size": "8276K",
        "state": "pause",
        "thr": "1",
        "time": "0:00",
        "username": "root",
        "wcpu": "0.00%"
      }
  },
  "id": "fooid",
  "name": "response",
  "namespace": "sysadm"
}
2016-02-02 11:06:45 -05:00
2016-02-02 09:23:09 -05:00
2015-12-08 14:37:18 -05:00
2015-12-08 15:24:45 -05:00

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
No description provided
Readme BSD-2-Clause 5.2 MiB
Languages
C++ 85.6%
Shell 12.7%
C 0.8%
QMake 0.6%
JavaScript 0.2%