testtest1testmessage generatortest-b seconds-i number-n number-p pri-s seconds-t tag-x prefixDescription
The test utility generates bursts of test messages.
Each message has the following format:
test message <message number>Options seconds
Duration of the burst in seconds.
Default is 1.
number
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.
number
The number of bursts.
Default is 1.
pri
The priority of messages. It may be specified numerically or as a
facility.level pair.
For example, .
The default is user.notice.
seconds
Pause between bursts in seconds.
Default is 1.
tag
Mark every line in the log with the specified tag.
prefix
Prefix for the test message.