AIX Network Service Management

Source: Internet
Author: User

Reference:

Http://www.ibm.com/developerworks/cn/linux/l-cn-udev/

Http://linux.chinaunix.net/techdoc/system/2008/07/11/1017050.shtml

Https://www.freebsd.org/doc/zh_CN/books/handbook/network-inetd.html

Inetd Introduction

The Network Service Manager used in AIX is still inetd, although its upgraded version xinetd has long been used.

In AIX, inetd is a SRC subsystem of the tcpip system resource controller group. The STARTUP script is in/usr/sbin/inetd. The two files used in the application are/etc/services and/etc/inetd. conf. The inetd. conf file is the inetd configuration file, and a line in the file represents a SRC service managed by inetd.

Inetd. conf file

The format of each row is:

Service name socket type protocol waiting/non-waiting user program parameters

The service name must be defined in the/etc/services file first.

The socket type can be stream, dgram, raw, or seqpacket. Stream indicates a stream socket used for the tcp protocol. Dgram is a data PACKET socket used for udp protocol.

The protocols include tcp, udp, tcp6, and udp6. Use a protocol with six parameters when the service needs to use IPv6.

Waiting/non-waiting. wait means that the service is not allowed to be concurrently. The next request must be accepted only after the previous request is processed. nowait is aware that service concurrency is allowed. (If you have any questions, refer to the description in document 2 to be verified)

User, which is the permission of the user to execute the service.

Program to start the script used by the Service.

Program parameters, the command parameters used to start the service.

/Etc/services file

The/etc/services file defines the network service name and socket number used by the Service.

The content format of each row is:

Service name socket number/protocol

1-1024 indicates the socket number reserved by the system.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.