Descriptions of the included Node.js Server Modules
base_module.js: GET_ReadLog (<server>/base/ReadLog, method GET): Reads the server.log file and returns the output. Clients may view the current server log, for remote troubleshooting.
ReadServerLog.html: Performs the ReadLog call and displays the output in a textarea HTML element
AjaxPostAndGet.js: Wrapper around JQuery Ajax calls. Contains AjaxPost and AjaxGet methods, each returning a JSON-formatted response.
d3.v3.min.js: Static version of the d3.js library: d3js.org
jquery.min.js: Static version of the jquery library: api.jquery.com
MakeGraph.js: Encapsulated D3 strip-chart methods. Merely point the MakeGraph function at an HTML div and a GET_ URL, and it will do the rest!
A Configuration Editor for ARTDAQ-runcontrol. Currently saves/loads XML files for a single-host ARTDAQ system only. Future versions will include database support and an "expert mode" for multi-host resource management.
Demonstration module which runs the 'iostat' command and returns the output
Demonstration module which reads /proc/stat and returns the output
Demonstration module which accepts commands from the user, and presents a stdin input for further communication with the command. Sort of an extremely clunky terminal emulator.