The SERIALMON home page
Last updated 18-Mar-2001
Serialmon-0.24 released 18-Mar-2001. Added bandwidth management
function to allow scripted use of the serial line to wait for slack in
traffic. The new version also includes a kernel module which allows
the use of serialmon without having to patch the kernel. Note this
bandwidth management function is a superior implementation of the
scheme used in the BW
script.
patch file for
serial.c in ltmodem-5.78d.tar.gz. Note that it is assumed you have
already patched the kernel.
New kernel patch file for
2.0.37 kernels.
Added link to ksermon.
Serialmon-0.23 released 27-Nov-98. Support for all latest (i386)
kernels now ok again, also supports glibc2.
I have a script to
regulate traffic on a PPP link, which may be of interest if you
download stuff automatically.
MD5 checksums of various web pages are available.
A program to monitor a modem on a serial port, and simulate the
modem LEDS on a colour console using curses, also bandwidth management
function and kernel module. See the lsm.
Information monitored:
- Modem lines: RI DCD RXD TXD DTR
Then, for each connection:
- Date and time: Line up, Line down
- Duration of call
- Amount of idle time on transmit and receive side
- Number of characters transmitted and received
- Data rate for the last second, transmit and receive
- Peak data rate over 1s and 10s, transmit and receive
- Overall average data rate, transmit and receive
- Process id and command line of the process using the line
The logfile contains all the above, but also includes additional information:
- Active time (time slices in which characters were transferred)
- Average data rate excluding idle time
- The time that the modem control lines (DCD and DTR) switch.
- The times that ioctls return I/O errors, and thus the line is reopened.
- Date and time that logging starts and finishes.
The bandwidth management function added in version 0.24 allows:
- A program may wait until the traffic reduces below a threshold before continuing (use waitforbw).
- Each program waiting is put into a queue, and they are then signalled in order each time the traffic drops.
- The traffic threshold may be set, and the minimum interval between allowing programs to continue (use sermonstats).
- A scrip can easily test if the line is up or down, and how many characters have been transferred (use sermonstats).
Download the Latest Version
The latest version is 0.24, released 18-Mar-2001. Note that it may take a few days to
reach the ftp sites.
As serialmon requires (and includes) a small kernel patch, it is only released in source form.
Serialmon MD5 checksums of all the files are available, should you want
to check against modification or corruption.
Sources and documentation - serialmon-0.24.tar.gz
ftp.demon.co.uk ftp site.
www.roestock.demon.co.uk web site.
LSM entry - serialmon-0.24.lsm
ftp.demon.co.uk ftp site.
www.roestock.demon.co.uk web site.
The home ftp site for serialmon is
ftp://ftp.demon.co.uk/pub/unix/linux/utils/.
On-line documentation
The following on-line documentation is available:
- CHANGES for the complete list of changes.
- The README as included with the sources.
See also
ksermon - a similar program but with a
graphical interface for running under X/KDE.
To send comments on serialmon, or this webpage,
please mail me.
If you liked this program, see my home page for some others.