SRC commands

SRC commands can affect one daemon, a group of daemons, or a daemon and those daemons it controls (subsystem with subservers).

In addition, some TCP/IP daemons do not respond to all SRC commands. The following is a list of SRC commands that can be used to control TCP/IP daemons and their exceptions.

Item Description
startsrc Starts all TCP/IP subsystems and inetd subservers. The startsrc command works for all TCP/IPP subsystems and inetd subservers.
stopsrc Stops all TCP/IP subsystems and inetd subservers. This command is also called the stop normal command. The stop normal command allows subsystems to process all outstanding work and terminate gracefully. For inetd subservers, all pending connections are allowed to start and all existing connections are allowed to complete. The stop normal command works for all TCP/IP subsystems and inetd subservers.
stopsrc -f Stops all TCP/IP subsystems and inetd subservers. This command is also called the stop force. The stop force command immediately terminates all subsystems. For inetd subservers, all pending connections and existing connections are terminated immediately.
refresh Refreshes the following subsystems and subservers: the inetd, syslogd, named, dhcpsd, and gated subsystems.
lssrc Provides short status for subsystems, which is the state of the specified subsystem (active or inoperative). Also provides short status for inetd subservers. The short status for inetd subservers includes: subserver name, state, subserver description, command name, and the arguments with which it was invoked.
lssrc -l Provides the short status plus additional information (long status) for the following subsystems:
gated
State of debug or trace, routing protocols activated, routing tables, signals accepted and their function.
inetd
State of debug, list of active subservers and their short status; signals accepted and their function.
named
State of debug, named.conf file information.
dhcpsd
State of debug, all controlled IP addresses and their current state.
routed
State of debug and trace, state of supplying routing information, routing tables.
syslogd
syslogd configuration information.

The lssrc -l command also provides long status for inetd subservers. The long status includes short status information and active connection information. Some subservers will provide additional information. The additional information by subserver includes:

ftpd
State of debug and logging
telnetd
Type of terminal emulating
rlogind
State of debug
fingerd
State of debug and logging

The rwhod and timed subservers do not provide long status.

traceson Turns on socket-level debugging. Use the trpt command to format the output. The timed and iptraced subsystems do not support the traceson command.
tracesoff Turns off socket-level debugging. Use the trpt command to format the output. The timed and iptraced subsystems do not support the tracesoff command.

For examples of how to use these commands, see the topics about the individual commands. For more information on the System Resource Controller, see System Resource Controller in Operating system and device management.