- HTTP Server offering system information including:
- time
- linux version
- free disk space
- processes running
- realtime webpage when requested
- modules compiled as dynamic shared library, and allows load/unload at runtime
- process/thread pool to handle http request
- run under non-root
- OOP
-
an console to control
-
load/unload module at runtime
-
detect files under modules directory
-
multithread responsing See source file
taskqueue.h
andserver.cc
for detail.
$ make
under main directory to build main program.
Enter modules
directory and run ./getMod.sh
to get modules build.
After build, run bin/server
to start program.
To see command list.
>>> help
To detect files under ./modules
directory relative to server
executable
>>> cand
To see working dynamic modules:
>>> status
To load module in file demo
:
>>> load demo
To unload module named demo
:
>>> unload demo
- Main Program
- HTTP Receiver/Sender
- Module
- Console
- Thread Pool
- Information Gathering Modules
- HTTP Receiver/Sender
- load Module
- Manipulate Program
- Modules info
- Thread Pool and Arranger
- More Modules
- time
- version
- df
- ps
- Testing