dropdown menu



A subserver is a program or process that belongs to a subsystem. Subservers are similar to daemons. Ftpd and telnetd daemons are good examples for subservers.

A subsystem is any program or process (or group of programs or processes) that perform related functions. For example inetd, gated, named, routed are subsystems. Subsystems can be further divided into subservers.

A subsystem group is a group of any specified subsystems. Grouping subsystems together allows the control of several subsystems at one time. For example TCP/IP (tcpip), Network Information System (nis), and Network File Systems (nfs) are subsystem groups.

    tcpip                            <--subsystem group

    subsystems belonging to tcpip:
        -inetd                       <--subsystem
        -gated                       <--subsystem

    subservers belonging to inetd:
        -ftpd                        <--subserver
        -telnetd                     <--subserver

When you start a subsystem group, all of its subsystems are also started. When you start a subsystem, all of its subservers are also started. When you start a subserver, its parent subsystem is also started if it is not already running.

The System Resource Controller (SRC) [this whole thing] is a subsystem controller. It makes it easier for the system manager to control subsystems.
It is a tool designated to aid a system administrator in controlling daemons. It allows you to start, stop, trace, list and refresh daemons. It also gives you the ability to group them.

stopsrc         command stops a subsystem
refresh         command restarts or refreshes a subsystem
trace           command traces a subsystem
lssrc           command lists the status of all defined subsystems
startsrc        command starts a subsystem

src options:
    -s acts only on the specified subsystem
    -g acts on all of the subsystems in the group to which the specified system belongs
    -p acts on the specified process identification number (PID).
    -a acts on all of the subsystems. For example, the command lssrc -a lists all subsystems
    -f option stands for forced stop. It is used with the stopsrc command.

smitty src               smitty utility for SRC
ps -ef | grep srcmstr    shows the PID of SRC (so every process with this PPID has been started by SRC so it can be controlled by SRC)
                         The processes which are controlled by SRC can be found in: /etc/rc.tcpip


Anonymous said...

IBM.RecoveryRM -- Not able to restart this daemon on AIX server. Any suggestion plz ..?

aix said...

I have found this: http://www-01.ibm.com/support/docview.wss?uid=swg21500059
Probably this fits to your case.