1TELNET-PROBE(1)             General Commands Manual            TELNET-PROBE(1)
2
3
4

NAME

6       telnet-probe - lightweight telnet-like port probe
7

SYNOPSIS

9       $PCP_BINADM_DIR/telnet-probe [-v] host port
10

DESCRIPTION

12       telnet-probe  allows the pmdashping(1) daemons to establish connections
13       to  arbitrary  local  and  remote  service-providing  daemons  so  that
14       response time and service availability information can be obtained.
15
16       The  required  host  and port number arguments have the same meaning as
17       their telnet(1) equivalents.
18
19       The -v option causes telnet-probe to be verbose while operating.
20
21       Once the telnet connection has  been  established,  telnet-probe  reads
22       from stdin until end-of-file, and writes all the input data to the tel‐
23       net connection.  Next, telnet-probe will read from the  telnet  connec‐
24       tion  until  end-of-file,  discarding  whatever data it receives.  Then
25       telnet-probe exits.
26
27       To operate successfully, the  input  passed  via  telnet-probe  to  the
28       remote  service must be sufficient to cause the remote service to close
29       the connection when the last line of input  has  been  processed,  e.g.
30       ending with ``quit'' when probing SMTP on port 25.
31
32       By default telnet-probe will not produce any output, unless there is an
33       error in which case a diagnostic message can be displayed  (in  verbose
34       mode only) and the exit status will be non-zero indicating a failure.
35

PCP ENVIRONMENT

37       Environment variables with the prefix PCP_ are used to parameterize the
38       file and directory names used by PCP.  On each installation,  the  file
39       /etc/pcp.conf  contains  the  local  values  for  these variables.  The
40       $PCP_CONF variable may be used to specify an alternative  configuration
41       file, as described in pcp.conf(4).
42

DIAGNOSTICS

44       If  telnet-probe  succeeds, then 0 will be returned.  If the attempt to
45       establish a connection fails or is terminated,  then  a  non-zero  exit
46       status is returned.
47

SEE ALSO

49       PCPintro(1), pmdashping(1), pmie(1) and telnet(1).
50
51
52
53Performance Co-Pilot                  SGI                      TELNET-PROBE(1)
Impressum