refresh Command

Purpose

Requests a refresh of a subsystem or group of subsystems.

Syntax

refresh [ -h Host] { -g Group| -p SubsystemPID| -s Subsystem}

Description

The refresh command sends the System Resource Controller a subsystem refresh request that is forwarded to the subsystem. The refresh action is subsystem-dependent.

Note: The refresh command is unsuccessful if the communication method for the subsystems is signals.

Flags

Item Description
-g Group Specifies a group of subsystems to refresh. The refresh command is unsuccessful if the Group name is not contained in the subsystem object class.
-h Host Specifies the foreign Host machine on which this refresh action is requested. The local user must be running as root. The remote system must be configured to accept remote System Resource Controller requests. That is, the srcmstr daemon (see /etc/inittab) must be started with the -r flag and the /etc/hosts.equiv or .rhosts file must be configured to allow remote requests.
-p SubsystemPID Specifies a particular instance of the subsystem to refresh.
-s Subsystem Specifies a subsystem to refresh. The Subsystem name can be the actual subsystem name or the synonym name for the subsystem. The refresh command is unsuccessful if Subsystem name is not contained in the subsystem object class.

Security

Attention RBAC users and Trusted AIX® users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Examples

  1. To refresh the a group, like tcpip, enter:
    refresh  -g tcpip
  2. To refresh a subsystem, like xntpd, enter:
    refresh  -s xntpd

Files

Item Description
/etc/objrepos/SRCsubsys Specifies the SRC Subsystem Configuration Object Class.
/etc/services Defines the sockets and protocols used for Internet services.
/dev/SRC Specifies the AF_UNIX socket file.
/dev/.SRC-unix Specifies the location for temporary socket files.