Test

Name

test — message generator

Synopsis

test [[-b]seconds] [[-i]number] [[-n]number] [[-p]pri] [[-s]seconds] [[-t]tag]

Description

The test utility generates bursts of test messages. Each message has the following format:

test message <message number>

Options

-bseconds

Duration of the burst in seconds. Default is 1.

-inumber

The maximum number of identical messages. This feature is useful to test coalescer. The implementation is simple but explanation is a bit difficult, just look at issued messages when this number is 3, for example:

test message 1
test message 2
test message 2
test message 3
test message 3
test message 3
test message 4
test message 5
test message 5
test message 6
test message 6
test message 6
...

Default is 1.

-nnumber

The number of bursts. Default is 1.

-ppri

The priority of messages. It may be specified numerically or as a “facility.level” pair. For example, -p local3.info. The default is “user.notice”.

-sseconds

Pause between bursts in seconds. Default is 1.

-ttag

Mark every line in the log with the specified tag.


DocBook
Libxslt
GIMP
SourceForge