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:
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:
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.