MAN page from Old RedHat 5.X suck-3.9.4-1.i386.rpm
TESTHOST
Section: User Commands (1)
Index NAME
testhost - test the status of an NNTP news server
SYNOPSIS
testhosthostname[
-a|-ndate time][
-s|-Sfilename][
-e|-Efilename][
-Nport_number][
-Uuserid][
-Ppassword][
-lphrase_file][
-Ttimeout][
-d][
-q]
OPTIONS
-a Get the active list from hostname
-d
This option tells testhost get the descriptions of the newsgroups on theremote server by sending the 'list newsgroups' command. The remote servermay or may not support this command.
-e | -E filename
These options will send all error messages (normally displayed on stderr), to an alternate file. The lower case version, -e, will send the error messagesto the compiled-in default defined in suck_config.h. The default is suck.errlog.The upper case version, -E, requires the filename parameter. All error messageswill then be sent to this file.
-l phrase_file
This option tells testhost to load in an alternate phrase file, instead of usingthe built-in messages. This allows you to have testhost print phrases in anotherlanguage, or to allow you to customize the messages without re-building.See the "FOREIGN LANGUAGE PHRASES" in suck.1 for more details.
-n date time
Get the newgroups created on the host since the date andtime specified. The date must be in YYMMDD format and the time must be inHHMMSS format.
-N port_number
This option will tell testhost to use an alternate NNRP port number when connectingto the host, instead of the default, 119.
-q
This option tells testhost to not display the connection and announcement messages,rather only display the results of the actual command run.
-s | -S filename
These options will send all status messages (normally displayed on stdout), toan alternate file. The lower case version, -s, will send the status messagesto the compiled-in default defined in suck_config.h. The default is /dev/null,so no status messages will be displayed. The upper case version, -S, requiresthe filename parameter. All status messages will then be sent to this file.
-T
This option overrides the compiled-in TIMEOUT value. This is how long testhostwaits for data from the remote host before timing out and aborting.
-U userid
-P password
These two options let you specify a userid and password, if your NNTP serverrequires them.
DESCRIPTION
Testhostwill query a NNTP news server, specified by
hostname.The default action is to issue the
helpcommand to the server, to see what software it is runningand what commands it accepts.
If the-aoption is used, testhost will display the server'sactive history list. If the -n date timeoption is used, testhost will display all new groups created on the serversince the date and time specified.
EXIT VALUES
0 on success, -1 on failure.
SEE ALSO
suck(1),
rpost(1),
lpost(1).
Index
- NAME
- SYNOPSIS
- OPTIONS
- DESCRIPTION
- EXIT VALUES
- SEE ALSO
This document was created byman2html,using the manual pages.