forked from opnfv/samplevnf
-
Notifications
You must be signed in to change notification settings - Fork 2
PROX Command Line options
Luc Provoost edited this page Nov 11, 2022
·
1 revision
Run PROX with the --help argument to display the usage text and the list of supported options as shown below. PROX supports many compilation flags to enable or disable features. For these flags, refer to the Makefile. Refer to the README file for more information on how to run PROX for specific use cases.
Usage: ./build/prox [-f CONFIG_FILE] [-a|-e] [-s|-i] [-w DEF] [-u] [-t] [-vLEVEL] [-l LOGFILE]
-f CONFIG_FILE : configuration file to load, ./prox.cfg by default
-l LOG_FILE : log file name, ./prox.log by default
-p : include PID in log file name if default log file is used
-v : set PROX log level (0 for error, 1 for warning, 2 for info, 3 for debug; default is info)
Note that debug mode is not compiled by default. (Need make log=3)
-u : Listen on UDS /tmp/prox.sock
-t : Listen on TCP port 8474
-a : autostart all cores (by default)
-e : don't autostart
-w : define variable using syntax varname=value
takes precedence over variables defined in CONFIG_FILE
-s : check configuration file syntax and exit
-i : check initialization sequence and exit
-m : list all supported modes and exit
-k : use stats logger
-d : run PROX as daemon (no UI)
-w : use dummy CPU topology
-n : use dummy devices
-r INTERVAL : set update interval (in seconds; minimum is 0.000001 i.e. 1 microseconds)
-o USER_INTERFACE: set UI (ncurses, cli or none - default is ncurses)
-q LUA: Load and run the Lua chunk