SMS Server Tools 3

Home

Status monitor

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

Example:

iiiriisssisss---
iiiriisssisss---
rriiiiissisis---
rriiiiiiiiiii---
iiiiiiiiiiiir---

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.

The book describes, how to add a status monitor when the program runs in background and how to create a beautiful coloured statusmonitor that you can watch in a webbrowser.