error_mgr
Purpose:
Use error_mgr to create the /data/errors/errors.db and receive error messages from tasks. When a error message is received from a task, it is placed into the data base.
Enter:
-
error_mgr p=[priority] s=[max_database_entries]
Arguments can be in any order and are optional.
Where:
-
priority Optional. Specify the priority of the program. The default is 19. max_database_entries Optional. Specify how many entries to store before removing old entries. Default is 20 million
Example:
-
error_mgr &
The above spawns the error manager with a priority of 19. It will keep 20 million records in the database before it removes half of the oldest errors.
error_mgr p=24 s=10000000 &
The above spawns the error manager with a priority of 24. It will keep 10 million records in the database before it removes half of the oldest errors.
Notes:
-
Error manager generates an error file if it encounters any errors at /data/errors/error_mgr.log. it only removes errors now when the size argument has been reached, which defaults is 20 million records. Once that many errors has been reached, it will remove half of the oldest. So with the default it will remove 10 million records.