*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> services (4)              


SERVICES(4)							   SERVICES(4)

NAME    [Toc]    [Back]

     services -	service	name database

DESCRIPTION    [Toc]    [Back]

     The /etc/services file contains information regarding the known services
     available in the Internet.	 For each service a single line	should be
     present with the following	information:

	o official service name

	o port number

	o protocol name

	o aliases (optional)

     Items are separated by any	number of blanks and/or	tab characters.	 The
     port number and protocol name are considered a single item; a ``/'' is
     used to separate the port and protocol (e.g. ``512/tcp'').	 A ``#''
     indicates the beginning of	a comment; characters up to the	end of the
     line are not interpreted by routines which	search the file.

     Service names may contain any printable character other than a field
     delimiter,	newline, or comment character.	For example,

	  smtp	  25/tcp    mail

DETERMINING USAGE    [Toc]    [Back]

     It	is sometimes useful to be able to determine which processes are	using
     a particular port.	 This can be accomplished using	the fuser(1M) command.
     For example, in order to see which	processes are listening	on TCP port
     25, the command

	  fuser	25/tcp

     can be used.  Note	that fuser only	accepts	service	names in their numeric
     form; symbolic names such as ``smtp'' cannot be used.

FILES    [Toc]    [Back]


     If	the NFS	option is installed and	NIS is running,	the getservent(3N)
     library routines only access this file if no entry	was found in the NIS

SEE ALSO    [Toc]    [Back]

     fuser(1M),	getservent(3N)

									Page 1

SERVICES(4)							   SERVICES(4)

     A name server should be used instead of a static file.

									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
rpccp_remove_entry HP-UX Removes a name service entry from the name service database
rpccp_add_entry HP-UX Adds a name service entry to the name service database
db IRIX local name service database
mdbm IRIX local name service database
ndbm IRIX local name service database
svc.conf Tru64 Database service selection configuration file
bluetooth.protocols FreeBSD Bluetooth Protocol Service Multiplexor database
ypfiles Tru64 Network Information Service (NIS) database and directory structure
yppush HP-UX force propagation of Network Information Service database
ypfiles HP-UX Network Information Service database and directory structure
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service