This is the command ltpmeter that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
ltpmeter - LTP daemon task for aggregating and segmenting transmission blocks
ltpmeter is a background "daemon" task that manages the presentation of LTP segments to
link service output tasks. Each "span" of LTP data interchange between the local LTP
engine and a neighboring LTP engine requires its own ltpmeter task. All ltpmeter tasks
are spawned automatically by ltpadmin in response to the 's' command that starts operation
of the LTP protocol, and they are all terminated by ltpadmin in response to an 'x' (STOP)
ltpmeter waits until its span's current transmission block (the data to be transmitted
during the transmission session that is currently being constructed) is ready for
transmission, then divides the data in the span's block buffer into segments and enqueues
the segments for transmission by the span's link service output task (giving the segments
semaphore to unblock the link service output task as necessary), then reinitializes the
span's block buffer and starts another session (giving the "buffer empty" semaphore to
unblock the client service task -- nominally ltpclo, the LTP convergence layer output task
for Bundle Protocol -- as necessary).
ltpmeter determines that the current transmission block is ready for transmission by
waiting until either (a) the aggregate size of all service data units in the block's
buffer exceeds the aggregation size limit for this span or (b) the length of time that the
first service data unit in the block's buffer has been awaiting transmission exceeds the
aggregation time limit for this span. The "buffer full" semaphore is given when ION
(either the ltp_send() function or the ltpclock daemon) determines that one of these
conditions is true; ltpmeter simply waits for this semaphore to be given.
The initiation of a new session may also be blocked: the total number of transmission
sessions that the local LTP engine may have open at a single time is limited (this is LTP
flow control), and while the engine is at this limit no new sessions can be started.
Availability of a session from the session pool is signaled by the "session" semaphore,
which is given whenever a session is completed or canceled.
"0" ltpmeter terminated normally, for reasons noted in the ion.log file. If this
termination was not commanded, investigate and solve the problem identified in the log
file and use ltpadmin to restart ltpmeter.
"1" ltpmeter terminated abnormally, for reasons noted in the ion.log file. Investigate
and solve the problem identified in the log file, then use ltpadmin to restart
Use ltpmeter online using onworks.net services