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

Commands Reference, Volume 3


lsps Command

Purpose

Displays the characteristics of paging spaces.

Syntax

lsps { -s | [ -c | -l ] { -a | -t { lv | nfs } | PagingSpace } }

Description

The lsps command displays the characteristics of paging spaces, such as the paging-space name, physical-volume name, volume-group name, size, percentage of the paging space used, whether the space is active or inactive, and whether the paging space is set to automatic. The PagingSpace parameter specifies the paging space whose characteristics are to be shown.

For NFS paging spaces, the physical-volume name and volume-group name will be replaced by the host name of the NFS server and the path name of the file that is used for paging.

You can use the File Systems application in Web-based System Manager (wsm) to change file system characteristics. You could also use the System Management Interface Tool (SMIT) smit lsps fast path to run this command.

Flags


-a Specifies that the characteristics of all paging spaces are to be given. The size is given in megabytes.
-c Specifies that the output should be in colon format. The colon format gives the paging space size in physical partitions.
-l Specifies that the output should be in list format.
-s Specifies that the summary characteristics of all paging spaces are to be given. This information consists of the total paging space in megabytes and the percentage of paging space currently assigned (used). If the -s flag is specified, all other flags are ignored.

Note: Setting the environment variable PSALLOC=early causes the use of early paging space algorithm. In this case, the value the -s flag specifies is different from the value returned for a single paging space or when using the -a flag for all the paging spaces. The value the -s flag displays is the percentage of paging space allocated (reserved), whether the paging space has been assigned (used) or not. Therefore, the percentage reported by the -s flag is usually larger than that reported by the -a flag when PSALLOC is set to early.
-t Specifies the characteristics of the paging space. One of the following variables is required:

lv
Specifies that the characteristics of only logical volume paging spaces are to be given.

nfs
Specifies that the characteristics of only NFS paging spaces are to be given. The heading of the output will be changed to display the host name of the NFS server and the path name of the file that resides on the server that is being used for NFS paging.

Examples

To list the characteristics of all paging spaces, enter:
lsps -a

This displays the characteristics for all paging spaces and provides a listing similar to the following listing:

Page Space Phy Vol  Vol Grp  Size  %Used  Active Auto
    hd6     hdisk0   rootvg  64MB    90    yes    yes

Files


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

Related Information

The mkps command, chps command, rmps command, swapon command.

File Systems Overview in AIX 5L Version 5.1 System Management Concepts: Operating System and Devices explains file system types, management, structure, and maintenance.

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

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.

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 ]