SYSLOGD-SENDTEST(1p)
π SYSLOGD-SENDTEST π
ok so bestie, this is SYSLOGD-SENDTEST(1p) from the User Contributed Perl Documentation section, and it's literally the cutest little syslog testing tool. she sends sample messages, she checks your vibes, she's an icon. let's get into it π
β¨ SYNOPSIS β¨
syslod-sendtest [options] [host]
(yes, exactly like that β spell it however it's spelled up there, we don't gatekeep typos π )
πΈ DESCRIPTION πΈ
Sends sample Syslog messages. that's it. that's the whole job. she shows up, she yeets a test message at your syslog daemon, she leaves. queen behavior honestly π
π¦ OPTIONS π¦
hostβ the host you're sending to. if you don't say anything (or just don't specify it at all), it defaults tolocalhost. lowkey the homegirl of defaults fr fr π-4β force IPv4. old school but reliable, ngl.-6β force IPv6. and heads up bestie, this one overrides-4, so if you throw both at her,-6wins. main character energy π-d datagram,--datagramβ the entire Syslog datagram, like the whole thing, hand it over. use double-quotes to delimit it. this option overrides all other options excepthost, so yeah she's that girl. example:
"<190>Jan 01 00:00:00 host syslog.pl[123]: Message"
default: if you don't specify it (or don't specify anything), she'll [build from user input] instead π
-f facility,--facilityβ the Syslog facility. valid facilities are literally:
kernel, user, mail, system, security, internal, printer, news, uucp, clock, security2, ftp, ntp, audit, alert, clock2, local0, local1, local2, local3, local4, local5, local6, local7
default: if you don't specify it (or don't specify anything), it's [local7] π
-h name|IP[v6],--hostnameβ the hostname. note the shape: a name, or an IP, and v6 is welcome too. default: if you don't specify it (or don't specify anything), it'slocalhostπ-m message,--messageβ the Syslog message. use double-quotes to delimit it if you've got spaces in there. default: if you don't specify it (or don't specify anything), it's["Message from ..."]β¨-ms,--msecβ include milliseconds in the timestamp. > heads up: this is not RFC 3164 compliant. default: if you don't specify it (or don't specify anything), it's[do not include]β±οΈ-s severity,--severityβ the Syslog severity. valid severities, periodt:
emergency, alert, critical, error, warning, notice, informational, debug
default: if you don't specify it (or don't specify anything), it's [informational] π
-y,--yearβ include the year in the timestamp. > heads up again bestie: this is not RFC 3164 compliant either. default: if you don't specify it (or don't specify anything), it's[do not include]π
π LICENSE π
this software is released under the same terms as Perl itself. and if you're sitting there like "bestie what does that even mean" β the page says to go visit <http://perl.com/>. so do that π«Ά
π AUTHOR π
Copyright (C) Michael Vincent 2010
All rights reserved
and that's the whole page, bestie π this doc came to you via perl v5.34.0, dated 2022-06-30, and honestly? she ate. go send some test messages, you've got this. no cap π§β¨
π¦ where this page comes from
- debian bookworm: libnet-syslogd-perl 0.16-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libnet-syslogd-perl 0.16-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libnet-syslogd-perl 0.16-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libnet-syslogd-perl 0.16-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libnet-syslogd-perl 0.16-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms