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
-
-b
seconds
-
Duration of the burst in seconds.
Default is 1.
-
-i
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.
-
-n
number
-
The number of bursts.
Default is 1.
-
-p
pri
-
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”.
-
-s
seconds
-
Pause between bursts in seconds.
Default is 1.
-
-t
tag
-
Mark every line in the log with the specified tag.