psUPing

Description

     This program tells you if TCP/IP servers are listening and accepting connections.  You
specify a target computer and a range of TCP/IP ports.   If psUPing connects
to the servers listening on those ports, then the program returns 0--all servers are up and
listening.   If the program cannot connect to any one of the servers, it returns non-zero.
   The program only writes verbose messages to the output log if you tell it to (-Os).   The
program does nothing other than to connect to each server.  Once the program connects, it
immediately disconnects.  It does not send data to any server.  It does receive data from any
server.

 

Syntax

psUPing -Iserver_ip_or_host_name
-Pstarting_port_number -Eending_port_number -Ttimeout
-Foutput_log -Ooptions

 

Arguments

-S

Server's IP address or hostname [firstsun]

-P

Starting port number [80]

-E

Ending port number [Starting port number]

-T

Timeout (seconds) [3]

-F

Name of output log [standard output]

-O

Options

 

Options

s

Write exit status to output log

e

Turn on messages

g

See only good connections

 

Environment Variables Behind the Scenes

PS_SYSMSG_FILE

For the location of the system-wide messages file.

 

Go to DBPowerSuite 7.9 List of Programs.


Updated: Thu Jun 18 21:12:26 2009