lvupdateSetProcs Command

Purpose

To add, remove, or list entries in the base process list that is used for the AIX® Live Update operations.

Syntax

lvupdateSetProcs -b [ -n label -a command | -n label -r | -l ]

Description

Base processes are not checkpointed during a Live Update operation. These processes are left unchanged on the original logical partition (LPAR), rather than being migrated to the surrogate LPAR. This command provides a mechanism to manage the list of base processes. The list of base processes is placed in the /etc/liveupdate/lvup_BaseProcs file.

Parameters

Item Description
command A string of up to 1024 characters that specifies an executable file, which includes a full path.
label A string of up to 80 characters that specifies a label, which is associated with a particular command that executes as a base process.

Flags

Item Description
-a command Adds the command to the specified process list.

The command specified with the -a flag must execute as a direct child of the init process.

-b Designates the lvupdateSetProcs command to work on the base process list.
-l Lists the commands from the specified process list.
-n label Specifies a label to associate with a command that is being added or removed.
-r command Removes the command from the specified process list.

Examples

  1. To add an entry to the base process list that is used by the Live Update operation, enter the following command:
    # lvupdateSetProcs -b -n myserv -a /usr/sbin/myservice
  2. To list the commands that are registered as base processes, enter the following command:
    # lvupdateSetProcs -bl