[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 1


chps Command

Purpose

Changes attributes of a paging space.

Syntax

chps-s LogicalPartitions  |   -d LogicalPartitions ] [  -a { } ] PagingSpace

Description

The chps command changes attributes of a specific paging space. The PagingSpace parameter specifies the name of the paging space to be changed.

To change the size of a Network File System (NFS) paging space, the size of the file that resides on the server must first be changed and then the swapon command used to notify the client of the change in size of the paging space.

You can use the Web-based System Manager Devices application (Devices fast path) to change device characteristics. You could also use the System Management Interface Tool (SMIT) smit chps fast path to run this command.

Note: The primary paging space is hardcoded in the boot record. Therefore, the primary paging space will always be activated when the system is restarted. The chps command is unable to deactivate the primary paging space.

Flags


-a Specifies to use a paging space at the next system restart.

y
Specifies that the paging space is active at subsequent system restarts.

n
Specifies that the paging space is inactive at subsequent system restarts.
-d LogicalPartitions Specifies the number of logical partitions to subtract.
-s LogicalPartitions Specifies the number of logical partitions to add.

Examples

  1. To change the size of the myvg paging space, enter:
    chps -s4 myvg
    This adds four logical partitions to the myvg paging space.
  2. To define the PS02 paging space as configured and active at subsequent system restarts, enter:
    chps -a y PS02
    This specifies that the PS02 paging space is to be active at subsequent system restarts.

Files


/etc/swapspaces Specifies the paging space devices activated by the swapon -a command.

Related Information

The lsps command, mkps command, rmps command, swapon command.

The Paging Space Overview in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices explains paging space and its allocation policies.

The File Systems Overview for System Management in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices provides information on working with files.

For information on installing the Web-based System Manager, see Chapter 2: Installation and System Requirements in AIX 5L Version 5.1 Web-based System Manager Administration Guide.

The System Management Interface Tool (SMIT): Overview in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices explains the structure, main menus, and tasks that are done with SMIT.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]