Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
System Administration Commandscports(1M)


NAME

 cports - expand host names into <host, server, port> triples

SYNOPSIS

 $CLUSTER_HOME/bin/cports hostname [hostname ...]

DESCRIPTION

 

The cports utility expands the hostname arguments into a list of <host, server, port> triples. The returned information is used to access the serial port consoles of the named hosts by way of the terminal server returned in the triples.

If an entry for serialports has been made in the /etc/nisswitch.conf file, then the order of lookups is controlled by that entry. If there is no such file or no such entry, then the nameservice look up order is implicitly nis files.


EXAMPLES

 Example 1. Using the cports Command
 

If the /etc/serialports file contains the entry:

 
pepsi    soda-tc    5002

this command:

 
% cports pepsi

prints the string:

 
pepsi soda-tc 5002

This information can be used by the telnet(1) command to remotely access pepsi's console:

 
% telnet soda-tc 5002

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWccon
Interface StabilityUnstable

SEE ALSO

 

cconsole(1M), crlogin(1M), ctelnet(1M), chosts(1M), telnet(1), serialports(4), attributes(5)



Sun Cluster 3.1Go To TopLast Changed 15 Apr 2002