-
Notifications
You must be signed in to change notification settings - Fork 0
/
Help
9 lines (9 loc) · 816 Bytes
/
Help
1
2
3
4
5
6
7
8
9
OPTIONS:
−d : Enter debugging mode. That is, do not daemonize, only accept one connection at a time and enable logging to stdout. Without this option, the web server should run as a daemon process in the background.
−h : Print a usage summary with all options and exit.
−l file : Log all requests to the given file. See LOGGING for details.
−p port : Listen on the given port. If not provided, myhttpd will listen on port 8080.
−r dir : Set the root directory for the http server to dir.
−t time : Set the queuing time to time seconds. The default should be 60 seconds.
−n threadnum: Set number of threads waiting ready in the execution thread pool to threadnum. The default should be 4 execution threads.
−s sched : Set the scheduling policy. It can be either FCFS or SJF. The default will be FCFS.