[ Previous | Next | Contents | Glossary | Home | Search ]
AIX Version 4.3 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 a Web-based System Manager File Systems application (wsm fs fast path) to run this command. 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 Version 4.3 System Management Guide: Operating System and Devices explains file system types, management, structure, and maintenance.

Paging Space Overview in AIX Version 4.3 System Management Guide: Operating System and Devices explains paging space and its allocation policies.

Setting up and running Web-based System Management in AIX Version 4.3 System Management Guide: Operating System and Devices.

System Management Interface Tool (SMIT): Overview in AIX Version 4.3 System Management Guide: Operating System and Devices explains the structure, main menus, and tasks that are done with SMIT.


[ Previous | Next | Contents | Glossary | Home | Search ]