TABLE OF CONTENTS


programs/libram-record [ Generics ]

[ Top ] [ Generics ]

NAME

libram-record - file format used by ramc-replay and libram-record

DESCRIPTION

ramc-replay(1) replays data from file. The files can either be created by the user, or by recording sessions with libram-record(3).

The file format used by these utilities consists of blocks that consists of the libram method heder, the payload header, and the data.

The libram method header consists of the libram methods, the session id, the timestamp and further and parameters. The timestamp consists of the UNIX timestamp, optionally follow by up to six decimals after the decimal point (e.g. 1361357865, 1361357865.2 or 13613557865.200000). The possible methods and the parameters for each method is described below.

The payload header consists of the direction and the length of the payload of each method. The direction is eihter a < for data flowing from the client to the server or a > for data flowing from the server to the client. Immediate after the direction indicator is the length of the data, expressed a a decimal number. The payload line is terminated with a line feed.

After the method and the payload follows the (binary) payload. The length of this data is specified in the payload line. The payload is terminated with a line feed, so that the next block starts with a new line.

The blocks may be seperated either by empty lines, or by lines beginning with a # character. The remainer of the lines beginning with a # can be used as a comment to further describe the data.

The possible methods are:

SEE ALSO

libram(3), libram-record(3), libram-record(5), libram-synchronous(3), libram-asynchronous(3), libram_init(3), libram_data(3), libram_close(3)


programs/ramc-replay [ Generics ]

[ Top ] [ Generics ]

NAME

ramc-replay - replay libram session

SYNOPSIS

ramc-replay [-V] [-h] [-v] [-s] [-b] [-r] [-t timeout] [-m modulepath] [-c connect] [-f replay] backend

DESCRIPTION

ramc-replay is a libram client (hence the prefix ramc) that replays data from file. The files can either be gernerated be the user itself, or recorded with the libram-record backend module.

Details about the replay data format can be found in libram-record(5).

The replay data file is specified using the -f option. If no -f option is given, ramc-replay reads the playback data from stdin.

ARGUMENTS

ENVIRONMENT

SEE ALSO

libram(3), libram-record(3), libram-record(5), libram-synchronous(3), libram-asynchronous(3)