smtp-source – проверка сервера

smtp-source – утилита генерирующая smtp трафик. Например, отослать 10 сообщений

# smtp-source -m 10 -f senders@example.com -t recipient@example.com localhost:25

Следующий тест

time /usr/sbin/smtp-source -s 20 -l 5120 -m 100 -c -f test@example.com -t mike@example.com localhost:25 100 
real 0m2.664s user 0m0.020s sys 0m0.100s

This example shows 20 parallel sessions (-s 20), 5KB sized messages (-l 5120), 100 messages ent (-m 100), counter display (-c), envelope sender and receiver (-f test@example.com -t mike@example.com) and connection on port 25 of the localhost (localhost:25). The “100” indicates the total messages sent. The real time (0m2.664s ) is the time the injection took,. Here is an additional test on the same server that indicates an increase to 40 sessions, 10 KB mail size and 500 messages. This gives you a way to evaluate the additional load on the server in terms of a comparison time. ( У меня с “100” не работало).

 

image_pdfimage_print

Leave a Reply

Your email address will not be published. Required fields are marked *