Files
cgrates/docs/cgr-engine.rst
2020-01-14 20:03:20 +01:00

47 lines
1.2 KiB
ReStructuredText

.. _cgr-engine:
2.1. cgr-engine
---------------
.. figure:: images/CGRateSInternalArchitecture.png
:alt: CGRateS Internal Architecture
:align: Center
:scale: 75 %
Internal Architecture of **cgr-engine**
Groups various services and components, customisable through the use of *json* engine_configuration_ or command line arguments (with higher prio).
::
$ cgr-engine -help
Usage of cgr-engine:
-config_path string
Configuration directory path. (default "/etc/cgrates/")
-cpuprof_dir string
write cpu profile to files
-httprof_path string
http address used for program profiling
-log_level int
Log level (0-emergency to 7-debug) (default -1)
-logger string
logger <*syslog|*stdout>
-memprof_dir string
write memory profile to file
-memprof_interval duration
Time betwen memory profile saves (default 5s)
-memprof_nrfiles int
Number of memory profile to write (default 1)
-node_id string
The node ID of the engine
-pid string
Write pid file
-scheduled_shutdown string
shutdown the engine after this duration
-singlecpu
Run on single CPU core
-version
Prints the application version.
.. hint:: # cgr-engine -config_path=/etc/cgrates