This function is disabled by default. You need to install the OSSP mm Shared Memory Library, also called mm or libmm. Then you need to enable statistics in src/Makefile and recompile the source code.
The status monitor is a text that smsd writes every second to stdout. This is normally your console but you can redirect it
to any device or file.
The status monitor shows you what your modems are actually doing.
Each character represents one modem. The first one is the first
modem in your config file.
The status may be:
s = sending
r = receiving (or checking received SM)
i = idle
b = blocked (after multiple errors)
- = not configured
Run smsd with the option -s if you want the status monitor. This works only if you run the program in a
shell window. Do not use -s if you run the program in background.
This function is disabled by default. You need to install the OSSP mm Shared Memory Library, also called mm or libmm. Then you need to enable this feature
in src/Makefile and recompile the source code.
Smsd collects statisic data and writes them into files. The program generates one
file every hour or whatever interval you configured. The filenames are simple
timestamps in the format YYMMDD.hhmmss.
The statistic files contain two parts, delimited by an empty line. The first part has global counters and the second part has individual counters for each modem.
Global statistic data:
- time since the last statistic file
- counter of rejected SM
Statistic data for each modem:
- counter of successful sent SM
- counter of failed SM (sending)
- counter of received SM
- counter of multiple consecutive failures
- time of modem usage by sending SM
- time of modem usage by receiving SM
Example file with name "010811.150030" , taken from a system with 2 modems:
In the future versions, if the file format is changed, new counters are added to the right end.