5 Unix / Linux xinetd Command Examples

byRamesh

xinetd stands for extended Internet services daemon. This is a replacement for inetd. xinetd starts and listens on all the service ports that you’ve defined, and when there is an incoming request to a particular port that it is listening to, it starts the corresponding service.

1. Specify a custom Config file using -f

By default xinetd uses the /etc/xinetd.conf file to store xinetd configurations. Inside the xinted.conf file, there is an includedir directive, which points to /etc/xinetd.d directory.

Please note that you can also set “-filelog” in the EXTRAOPTIONS variable of /etc/sysconfig/xinetd and use “service xinetd restart”.

3. Limit Concurrent Process Limit using -limit

Using -limit option, you can also limit the number of concurrent process that can be running. i.e When xinetd starts processes based on the incoming request, how many process can be running concurrently at any given time? This helps xinted to avoid process table over-flow.