EnglishFrenchSpanish

OnWorks favicon

testhost - Online in the Cloud

Run testhost in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command testhost that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


testhost - test the status of an NNTP news server

SYNOPSIS


testhost hostname [ -a|-n date time |-o ] [ -M ] [ -s|-S filename ] [ -e|-E filename ] [
-N port_number ] [ -U userid ] [ -P password ] [ -Q ] [ -l phrase_file ] [ -T timeout ] [
-d ] [ -q ] [ -z ]

OPTIONS


-a Get the active list from hostname

-d

This option tells testhost get the descriptions of the newsgroups on the remote server by
sending the 'list newsgroups' command. The remote server may 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 messages to 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 messages will then be sent to this file.

-l phrase_file

This option tells testhost to load in an alternate phrase file, instead of using the
built-in messages. This allows you to have testhost print phrases in another language, 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 and time specified. The date must be
in YYMMDD format and the time must be in HHMMSS format.

-N port_number

This option will tell testhost to use an alternate NNRP port number when connecting to 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), to an
alternate file. The lower case version, -s, will send the status messages to 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, requires the 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 testhost waits 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 server requires
them.

-Q

This option tells testhost to use the environment variable NNTP_USER & NNTP_PASS to
specify a userid and password, if your NNTP server requires them. This option is provided
so that the userid & password can't be seen with the ps command, a potential security
problem.

-z

This options tells testhost to use SSL to talk to the remote server, if testhost was
compiled with SSL.

DESCRIPTION


Testhost will query a NNTP news server, specified by hostname.

The hostname may optionally include the port number in the form
Host:Port.Iftheportnumberisincluded,theportnumberspecified by the -N option will be
ignored.

The default action is to issue the help command to the server, to see what software it is
running and what commands it accepts.

If the -a option is used, testhost will display the server's active history list. If the
-n date time option is used, testhost will display all new groups created on the server
since the date and time specified. If the -o option is used, then testhost will display
the overview format, which is what the XOVER command returns.

If the -M option is used, the command will be preceded with the "mode reader" command,
which might be needed by some servers.

EXIT VALUES


0 on success, -1 on failure.

Use testhost online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 2
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 3
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 4
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • 5
    Sky Chart / Cartes du Ciel
    Sky Chart / Cartes du Ciel
    SkyChart is a software to draw chart of
    the night sky for the amateur astronomer
    from a bunch of stars and nebulae
    catalogs. See main web page for full
    download...
    Download Sky Chart / Cartes du Ciel
  • 6
    GSmartControl
    GSmartControl
    GSmartControl is a graphical user
    interface for smartctl. It allows you to
    inspect the hard disk and solid-state
    drive SMART data to determine its
    health, as w...
    Download GSmartControl
  • More »

Linux commands

  • 1
    abc2abc
    abc2abc
    abc2abc - a simple abc
    checker/re-formatter/transposer ...
    Run abc2abc
  • 2
    abc2ly
    abc2ly
    abc2ly - manual page for abc2ly
    (LilyPond) 2.18.2 ...
    Run abc2ly
  • 3
    coqmktop
    coqmktop
    coqmktop - The Coq Proof Assistant
    user-tactics linker ...
    Run coqmktop
  • 4
    coqtop
    coqtop
    coqtop - The Coq Proof Assistant
    toplevel system ...
    Run coqtop
  • 5
    g.copygrass
    g.copygrass
    g.copy - Copies available data files in
    the current mapset search path to the
    user�s current mapset. KEYWORDS:
    general, map management ...
    Run g.copygrass
  • 6
    g.dirsepsgrass
    g.dirsepsgrass
    g.dirseps - Internal GRASS utility for
    converting directory separator
    characters. Converts any directory
    separator characters in the input string
    to or from na...
    Run g.dirsepsgrass
  • More »

Ad