[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 6


writesrv Daemon

Purpose

Allows users to send messages to and receive messages from a remote system.

Syntax

writesrv

Description

The writesrv daemon allows users to send messages to users on a remote system and receive responses from users on a remote system with the write command.

The writesrv utility receives incoming requests from a write command and creates a server process to handle the request. This server process communicates with the client process (write) and provides whatever services are requested.

To perform these services, the writesrv daemon creates a socket that is attached to the port defined in the /etc/services file. All requests for service are sent as messages to this socket.

Note: If the writesrv daemon terminates abnormally (such as a system crash, power failure, or the kill -9 command), the /var/spool/writesrv directory must be manually cleaned out to remove any files left behind by the writesrv daemon.

Examples

  1. To start the writesrv daemon from the /etc/rc script, enter:

    /usr/sbin/writesrv
    

    The writesrv daemon is started from the /etc/rc script. This is the usual way the daemon is started.

  2. To start the writesrv daemon using the System Resource Controller (SRC), enter:

    startsrc -s writesrv &
    

    The writesrv daemon is started using SRC.

Files


/etc/services Contains the Network Services directory.

Related Information

The kill command, write command

Using Remote Host Access for Printing, Printer Overview for System Management, and Remote Printing Overview in AIX 5L Version 5.1 Guide to Printers and Printing.

System Resource Controller Overview in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]